rich:calendar client side validation doesn't work reliable
----------------------------------------------------------

                 Key: RF-11246
                 URL: https://issues.jboss.org/browse/RF-11246
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: RichFaces 4.1.0.20110805-M1 
r.10246d45dddd1d2aa2034317d5a832394cc919f9
Metamer 4.1.0.20110805-M1 r.22604
Apache MyFaces JSF-2.1 Core Impl 2.1.1
JBoss AS 6.0.0.Final
Java(TM) SE Runtime Environment 1.6.0_26-b03 @Linux
Chrome 12.0.742.112 @ Linux i686
            Reporter: Ján Jamrich


Client side validation is not performed reliable on calendar. There is example 
in Metamer (faces/components/richCalendar/csv.xhtml) with 3 different 
calendars, everyone validated to different date rule (past, future and last 
year), and without submit button.

All calendars have set <a4j:ajax event="change" render="outputX" />, so there 
is expected validation to be fired immediately after value changes (picked from 
calendar). 
When select wrong value in first calendar, validation message appears near this 
input. But if then try to select another value in second calendar, there wrong 
value in first calendar remains, as well as the validation message, but in 
second calendar no validation message appear, and selected value is set to 
calendar's input. The same behavior for last input.

So this is quite confusing when select 3 wrong values, but only for first input 
is validation message displayed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to