3 Replies Latest reply on Aug 25, 2008 9:26 PM by nbelaevski

    how to display CalendarDataModelItem.getData() in calendar?

    dipje

      Hi all,

      I'm using a rich:calendar to display a calendar (duh!)
      I would like to use the dataModel option to display my CalendarDataModelItem objects. I want to display additional information in my calendar. The documentation says the following:

      Object getData() - returns any additional payload that must be JSON-serializable object. It could be used in the custom date representation on the calendar (inside the custom facet).

      I've looked through multiple examples, but none of them actually use this.
      What does this custom facet look like? Can anyone give me an example?

      With kind regards,
      Ron