This content has been marked as final.
Show 2 replies
-
1. Re: Calendar and validation
pawelduda Nov 16, 2009 3:14 AM (in response to pawelduda)Here's the code I am using:
<rich:calendar id="taskStartDate" popup="true" value="#{taskViewBean.filterStartDate}" datePattern="#{sessionBean.calendarPattern}" boundaryDatesMode="active" showApplyButton="true"> <h:outputText value="{day}"> </h:outputText> <f:validator validatorId="datumValidator"/> <a4j:support event="onchanged"/> </rich:calendar>
-
2. Re: Calendar and validation
ilya_shaikovsky Nov 16, 2009 6:04 AM (in response to pawelduda)using slightly modified richfaces-demo sample
<rich:messages></rich:messages> <rich:calendar value="#{calendarBean.selectedDate}" locale="#{calendarBean.locale}" popup="#{calendarBean.popup}" datePattern="#{calendarBean.pattern}" showApplyButton="#{calendarBean.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px" required="true"> <a4j:support event="onchanged"/> </rich:calendar>
I'm getting messages appears just after I clicking clean. 3.3.1 snapshot.