ICEfaces EE Composite Components
Tag schedule


The Schedule Composite Component

Features

How To Use

  1. Use CalendarEvent to represent a calendar event in your model
  2. Implement CalendarViewService in your model and register the implementing class as an application scope bean in faces-config
  3. Register CalendarController as a request scope bean in faces-config. Bind this bean to the schedule tag's 'bean' attribute
  4. Add the CalendarViewService implementation as a managed-property with property-name 'calendarViewService' to the CalendarController
  5. Register CalendarViewUtil as a session scope bean in faces-config with managed-bean-name "calendarViewUtil"
  6. By default the calendar will now format all Dates to the server TimeZone
  7. To change the default TimeZone add a managed-property to "calendarViewUtil" named "timeZoneId" with a valid TimeZone id value
  8. To apply a session scoped TimeZone to each instance of the calendar, use the EL in the "timeZoneId" value. For instance, #{User.timezoneId}
  9. Add <ice-cc:schedule/> to page(s) where you want to view the schedule. Nest <ice-cc:css/> in your page <head> tag.

Example:
<ice-cc:schedule bean="#{calendarController}" id="mySched"/>


Tag Information
Tag Classjavax.faces.webapp.FacetTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameSchedule Composite Component

Attributes
NameRequiredRequest-timeTypeDescription
idtruefalsejava.lang.StringA unique id for the component.
beantruefalsecom.icesoft.faces.facelets.component.schedule.CalendarControllerMust resolve to an instance of CalendarController class
use24HourClockfalsefalsejava.lang.BooleanSet the schedule to render in 24 hour clock mode (default false)

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.