Link to home
Start Free TrialLog in
Avatar of csjoyce
csjoyce

asked on

Date Compoent

Hi,
We are using Myfaces 1.1.1 <t:inputdate> to show the Dates fields.
We need to invoke an event (Javascript or Bean method)  once a day has been selected on the calendar pop up.
Here is our code,

<t:inputDate   id="startDateOfVisit" type="date"
                                 value="#{travelLogEntryBean.startDateOfVisit}"
                                 popupCalendar="true" styleClass="valueDropDownBox"
                                 onchange="submit();"
                                 valueChangeListener="#{travelLogEntryBean.populateCountryLE}"/>

In the above code, the valueChangeListener gets fired whenever the date is typed explictly i.e. not selected using the pop up calendar.
However it does not get fired when a day has been selected on the calendar pop up.

Please help.
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial