[
https://jira.jboss.org/jira/browse/RF-996?page=com.atlassian.jira.plugin....
]
Leonid Sokolin commented on RF-996:
-----------------------------------
I was trying to use oninputchange event to validate, if the date was manually cleared from
the field, but getSelectedDate still returns previous value.
Could you tell me, how to check the actual value appearing in the field?
aj4:support cannot be used to validate rich:calander.
-----------------------------------------------------
Key: RF-996
URL:
https://jira.jboss.org/jira/browse/RF-996
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Chris Rudd
Assignee: Tsikhon Kuprevich
Fix For: 3.2.0
The following can be used to valdiate the date entered manually, but there is not a way
to validate when the date is "picked"
<rich:calendar value="#{bean.date}" enableManualInput="true">
<a4j:support event="oninputchange" reRender="..."/>
</rich:calendar>
There should be an event that is fired any time the date is changed, reguarless of the
input method.
NOTE : ondateselect is not applicable as its not notification that the date was changed,
it is allowing a hook to see if the date selection should occur.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira