The calendar includes a toolbar with built-in functionality that allows a user to change the view (between daily, weekly, monthly, or list), go to the previous or next day, week, or month, and return to today. For more information, see Section 15.2, "Creating the Calendar." You must provide the functionality behind the methods, suitable for your implementation of the calendar. The classes are abstract classes with abstract methods. If your application does not use the Fusion technology stack, then you create your own implementation of the CalendarModel class and the associated CalendarActivity and CalendarProvider classes. For more information, see the " Using the ADF Faces Calendar Component" section of the Oracle Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework. You can then declaratively create the calendar, and it will automatically be bound to that model. If your application uses the Fusion technology stack, then you can create ADF Business Components over your data source that represents the activities, and the model will be created for you. You must create your own implementation of the model class for your calendar. The calendar uses the CalendarModel class to display the activities for a given time period. For more information, see Section 15.3, "Configuring the Calendar Component." You can override the default when you configure the calendar. The time zone for the calendar is also based on the setting in trinidad-config.xml. In France, the default start day is Monday, and 2 p.m. For example, in the United States, by default, the start day of the week is Sunday, and 2 p.m. If a locale is not set in that file, then it is based on the locale sent by the browser. Figure 15-2 Calendar Configured to Use Only Week and Day Viewsīy default, the calendar displays dates and times based on the locale set in the trinidad-config.xml file (for example, Section A.6, "Configuration in trinidad-config.xml").
0 Comments
Leave a Reply. |