[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1928) Seam Text Validator

Matt Drees (JIRA) jira-events at lists.jboss.org
Mon Sep 24 10:47:41 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1928?page=comments#action_12378339 ] 
            
Matt Drees commented on JBSEAM-1928:
------------------------------------

That is, it will include at '...some text #item1...', but not the rest of what you asked for.  It might be possible to do something like "You haven't closed the slash which started with /Foo. " by modifying the parser, but I don't know antlr well enough.

I'm including 10 characters on either side of the error.  Tweak as necessary.

Also, I just noticed that in SeamTextValidatorTest.java I forgot to also change the class name from ValidatorTest to SeamTextValidatorTest.  My bad.

> 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, 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

        



More information about the seam-issues mailing list