This content has been marked as final.
Show 8 replies
-
1. Re: How can a user-defined datamodel affect prev-month/next-
nbelaevski Mar 10, 2009 7:07 AM (in response to ttjhome)Hello,
Try setting "boundaryDatesMode" attribute. -
2. Re: How can a user-defined datamodel affect prev-month/next-
ttjhome Mar 10, 2009 9:33 PM (in response to ttjhome)thanks reply
I have already set boundaryDatesMode to "scroll" . It still doesn't call calendarDataModel after going into previous month . -
3. Re: How can a user-defined datamodel affect prev-month/next-
nbelaevski Mar 11, 2009 11:06 AM (in response to ttjhome)Are you using ajax or client mode?
-
4. Re: How can a user-defined datamodel affect prev-month/next-
ttjhome Mar 11, 2009 8:58 PM (in response to ttjhome)I am using ajax mode
-
5. Re: How can a user-defined datamodel affect prev-month/next-
nbelaevski Mar 11, 2009 9:29 PM (in response to ttjhome)Please add
<a4j:log popup="false" />
and check if there are errors/warnings there. -
6. Re: How can a user-defined datamodel affect prev-month/next-
ttjhome Mar 11, 2009 10:15 PM (in response to ttjhome)There is no error/warning appears
Here is my xhtml<h:form id="ProjectCalendarForm" > <a4j:log level="ALL" popup="false" width="400" height="200"/>. <rich:calendar popup="false" boundaryDatesMode="scroll" cellWidth="100px" cellHeight="150px" dataModel="#{calendarDataModel}" showWeeksBar="false" mode="Ajax"> <f:facet name="header"> <h:panelGrid columns="3" width="100%"> <h:outputText value="{previousMonthControl}" style="text-align:left" /> <h:outputText value="{currentMonthControl}" style="text-align:center" /> <h:outputText value="{nextMonthControl}" style="text-align:right" /> </h:panelGrid> </f:facet> <a4j:outputPanel layout="block" id="cell" style="height: 100%;"> <h:panelGrid columns="1"> <h:outputText value="{day}" style="align:center"/> <h:outputText value="{data.description}"/> </h:panelGrid> </a4j:outputPanel> </rich:calendar> </h:form>
-
7. Re: How can a user-defined datamodel affect prev-month/next-
nbelaevski Mar 12, 2009 8:22 AM (in response to ttjhome)mode="Ajax"
should be:mode="ajax"
-
8. Re: How can a user-defined datamodel affect prev-month/next-
ttjhome Mar 12, 2009 9:44 AM (in response to ttjhome)OH YEAH!
It works now !
thank you thank you