myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-829) error message for validateRegExp does not always show pattern information
Date Wed, 21 Nov 2007 14:16:43 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544475
] 

Matthias Weßendorf commented on TRINIDAD-829:
---------------------------------------------

workaround is to replace "{" by  "{'" AND "}" by  "'}"
and before returning the "parsed" error string, we re-replace it back.

> error message for validateRegExp does not always show pattern information
> -------------------------------------------------------------------------
>
>                 Key: TRINIDAD-829
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-829
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>
> Steps
> =====
> 1. Create a new page with two input texts and nest Validate Reg Exp
> on both input texts.
> 2. In one of the Validate Reg Exp provide patterns as [0-9]{3} and for the
> second Validate Reg Exp provide [0-9]{5} as patterns
> 3. Run the page and end 1 in both the input text. The inputtext with Validate
> Reg Exp having pattern [0-9]{3} show wrong error message 'The value you
> entered does not match the regular expression pattern "[0-9]".'
> while the input with Validate Reg Exp having pattern [0-9]{5} show correct
> error message 'The value you entered does not match the regular expression
> pattern "[0-9]{5}".' 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message