Setting date from selectInputDate to object
Posted
by DD
on Stack Overflow
See other posts from Stack Overflow
or by DD
Published on 2010-03-25T12:22:32Z
Indexed on
2010/04/12
23:52 UTC
Read the original article
Hit count: 249
I have a date controller which does various things. Once a calendar date is set, I want to pass the value from the date controller to another bean. The problem I have is that the setPropertyActionListener
gets called before the user clicks on a date.
Is there a way to get the date from the selectInputDate
after selection and pass to a bean?
This is what I tried:
<ice:selectInputDate popupDateFormat="dd-MMM-yyyy" renderAsPopup="true" value="#{dateRangeDateContoller.end}" >
<f:setPropertyActionListener target="#{searchParameters.endDate}" value="#{dateRangeDateContoller.end}" />
</ice:selectInputDate>
© Stack Overflow or respective owner