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

Igor Vaynberg resolved WICKET-2405.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Igor Vaynberg

1.4 rc7 is not the latest version. retest with 1.4.0 and reopen if still broken.

> componentID.PatternValidator settings in properties file cannot be picked up
> ----------------------------------------------------------------------------
>
>                 Key: WICKET-2405
>                 URL: https://issues.apache.org/jira/browse/WICKET-2405
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC7
>         Environment: jaunty, 1.4-rc7. JDK 1.6.0_13-b03
>            Reporter: jason wang
>            Assignee: Igor Vaynberg
>
> Code:
> final RequiredTextField<String> mobile = new 
> RequiredTextField<String>("mobile");
> mobile.setLabel(new Model<String>("mobile")).add(new 
> PatternValidator("^[1-9]([0-9]{8,14})"));
> Properties file:
> mobile.PatternValidator = Please input a valid international phone number.
> Results:
> always output <input> does not match pattern '^[1-9]([0-9]{8,14})'.
> WIth the same code, build with 1.4 rc1, worked fine, build with rc7, problem 
> occurred.

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

Reply via email to