You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2009/02/23 15:51:07 UTC

[jira] Reopened: (TAP5-520) Regexp validator parse error

     [ https://issues.apache.org/jira/browse/TAP5-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reopened TAP5-520:
---------------------------------

      Assignee: Igor Drobiazko

Reopened. This is still a bug. One should be able to use commas inside @Validate("regexpr=********"). I will have a look into this.

> Regexp validator parse error
> ----------------------------
>
>                 Key: TAP5-520
>                 URL: https://issues.apache.org/jira/browse/TAP5-520
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.18
>            Reporter: Konstantin Miklevskiy
>            Assignee: Igor Drobiazko
>
> Try adding this field to your form:
> @Validate("regexp=^([a-zA-Z0-9]{2,4})+$")
> private String somefield;
> Page will fail to render with exception saying:
> Render queue error in BeginRender[mypage.somefield]: Failure reading parameter 'validate' of component mypage.somefield: Coercion of ^([a-zA-Z0-9]{2 to type java.util.regex.Pattern (via String --> java.util.regex.Pattern) failed: Unclosed counted closure near index 15 ^([a-zA-Z0-9]{2 ^

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