]
Ilya Shaikovsky commented on RF-10977:
--------------------------------------
consider JSF 2 optional validation of empty field. IF it's true by default - seems our
validator works as expected.
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: