Forums Register Login

validation of two calendars

+Pie Number of slices to send: Send
hi i have two jsf calendars.how to validate these two calendars.dates should not be null.dates should not be greater than current date.from date should not be greater than to date.canany one help me.im using jsf1.1.

<t:inputCalendar align="right" id="fromDate" maxlength="10" size="12" value="#{testbean.fromdate}" monthYearRowClass="monthYearRowClass" binding="#{testbean.fromdateComp}"

weekRowClass="weekRowClass" dayCellClass="dayCellClass" currentDayCellClass="currentDayCellClass" popupTodayString="Today is :"

popupWeekString="Wk" renderAsPopup="true" renderPopupButtonAsImage="true" popupDateFormat="dd/MM/yyyy"

alt="Calendar" title="Calendar"



t:inputCalendar

h:message for="fromDate"

t:inputCalendar id="ToDate" maxlength="10" value="#{testbean.todate}" monthYearRowClass="monthYearRowClass" binding="#{testbean.todateComp}"

weekRowClass="weekRowClass" dayCellClass="dayCellClass" currentDayCellClass="currentDayCellClass"

popupTodayString="Today is :" popupWeekString="Wk" renderAsPopup="true" renderPopupButtonAsImage="true"

popupDateFormat="dd/MM/yyyy" alt="Calendar" title="Calendar">



t:inputCalendar

h:message for="ToDateā€
Please enjoy this holographic presentation of our apocalyptic dilemma right after this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1433 times.
Similar Threads
Need help with TOMAHAWK Calendar t:inputCalendar
t:div, s;fieldset and t::inputCalendar confilict
t:calender error
JSF- tomahawk calander problem
pls help in t:calander i need it badly pls help
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 00:01:28.