[richfaces-issues] [JBoss JIRA] Created: (RF-10977) validation should not be processed when @required=false and input is empty

Nikhil Patil (JIRA) jira-events at lists.jboss.org
Mon May 9 06:43:18 EDT 2011


validation should not be processed when @required=false and input is empty
--------------------------------------------------------------------------

                 Key: RF-10977
                 URL: https://issues.jboss.org/browse/RF-10977
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.0.1.Milestone1
         Environment: Ubuntu 10.04, Jboss 5.1.0 GA, Mojarra 2.0.4, Richfaces 4 (extracted from richfaces-showcase.war of 2011-04-28)
            Reporter: Nikhil Patil


<h:inputText
            id="txtContact" 
            value="#{user.contact}"
            required="false"
            validatorMessage="Invalid phone number"
            maxlength="10">
              <f:validateRegex pattern="\d{10}" />
              <rich:validator/>
</h:inputText>

Regex validation should not be processed when @required=false and input is empty

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


More information about the richfaces-issues mailing list