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="#{travelLogEntryBea n.startDat eOfVisit}"
popupCalendar="true" styleClass="valueDropDownB ox"
onchange="submit();"
valueChangeListener="#{tra velLogEntr yBean.popu lateCountr yLE}"/>
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.
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="#{travelLogEntryBea
popupCalendar="true" styleClass="valueDropDownB
onchange="submit();"
valueChangeListener="#{tra
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.