[
http://jira.jboss.com/jira/browse/JBSEAM-1928?page=comments#action_12378244 ]
Christian Bauer commented on JBSEAM-1928:
-----------------------------------------
This works great, thanks Matt. I've made a little change:
firstError = firstError.replace("\uFFFF", "[END OF TEXT]");
This is better than throwing <End Of Text> which might be rendered as
"HTML" if you print it as a JSF error message.
Seam Text Validator
-------------------
Key: JBSEAM-1928
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1928
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF
Reporter: Matt Drees
Assigned To: Christian Bauer
Priority: Minor
Attachments: SeamTextValidator.java, SeamTextValidatorTest.java
It'd be nice to have a validator that keeps users from entering invalid Seam Text.
--
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