[richfaces-issues] [JBoss JIRA] Created: (RF-3858) calendar: Wrong value after validation failed

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Jul 8 05:46:27 EDT 2008


calendar: Wrong value after validation failed
---------------------------------------------

                 Key: RF-3858
                 URL: http://jira.jboss.com/jira/browse/RF-3858
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.1
            Reporter: Ilya Shaikovsky
         Assigned To: Anton Belevich


http://seamframework.org/Community/RichFaces320CalendarProblem

					<rich:calendar value="#{calendarBean.selectedDate}"
						datePattern="#{calendarBean.pattern}"
					 	enableManualInput="true">
					 </rich:calendar>
					 <h:inputText>
					 	<f:validateLength maximum="2"/>
					 </h:inputText>
					 <h:commandButton />
					 <rich:messages></rich:messages>

enter "asdasd" to calendar field manually. And enter "123" to input text. Hit the button. Validation fails. two messages displayed - OK

but input text contains old value and Calendar resets the failed value to previous one. This isn't standard input behaviour. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list