This content has been marked as final.
Show 5 replies
-
1. Re: fire that event, rich:calendar!
jaand96 Sep 12, 2008 6:53 AM (in response to jaand96)should mention I use seam 2.0.3CR1 (richfaces 3.1.4.GA I believe)
-
2. Re: fire that event, rich:calendar!
ilya_shaikovsky Sep 12, 2008 8:49 AM (in response to jaand96)You should use a4j:support with output panel specified in reRender registered on ondateselected event for an old versions (where the calendar has no time support) or for onchanged event for latest versions.
-
3. Re: fire that event, rich:calendar!
jaand96 Sep 15, 2008 3:27 AM (in response to jaand96)Thanks, I tried using the older version (below) but no luck. Does anyone have a working example they could post?
I've googled for it but haven't found anything were the calendar change should fire an event...<rich:calendar locale="sv" value="#{Utfall.kalender.time}" datePattern="yyyyMMdd"> <a:support event="ondateselected" reRender="registreraPanel"/> </rich:calendar>
-
4. Re: fire that event, rich:calendar!
ilya_shaikovsky Sep 15, 2008 5:56 AM (in response to jaand96)ok. please add phaseTracker to your libs and check the server log for the request. Also make sure you using proper event onchanged for newest versions.
I've just doublechecked and its works for me under 3.2.2 GA<rich:calendar value="#{calendarBean.selectedDate}" locale="#{calendarBean.locale}" popup="#{calendarBean.popup}" datePattern="#{calendarBean.pattern}" showApplyButton="#{calendarBean.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px"> <a4j:support event="onchanged" reRender="out"></a4j:support> </rich:calendar> <h:outputText id="out" value="#{calendarBean.selectedDate}"/>
-
5. Re: fire that event, rich:calendar!
jaand96 Sep 16, 2008 9:29 AM (in response to jaand96)Thanks, after upgrading to 3.2.2 GA it worked straight away.