[
https://issues.jboss.org/browse/RF-11531?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-11531:
------------------------------------
There is still the issue that when the pattern is "[a-z].*", the server and
client side behave differently. There are two solutions as I see it:
# Always prepend a "^" character in the javascript regex (if it isn't
already present)
# File an upstream issue with Bean Validation
Further discussion is required, I'll bring it up in the developer forums.
Client side validation: regexp ignores whitespace at the beginning
------------------------------------------------------------------
Key: RF-11531
URL:
https://issues.jboss.org/browse/RF-11531
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.1.0.Milestone3
Reporter: Jan Papousek
Fix For: 4.1.0.Milestone4
Let "[a-z].*" is expected regexp and input value is " a". The value
shouldn't pass the validation, but it passes.
This can be reproduced in Metamer:
-
http://localhost:8080/metamer/faces/components/richAutocomplete/csv.xhtml
-
http://localhost:8080/metamer/faces/components/richInplaceInput/csv.xhtml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira