Is this being fixed ? This is still incorrect in rc2.....

On 4/20/06, Rüdiger Schulz <[EMAIL PROTECTED]> wrote:
Juergen Donnerstag wrote on 19.04.2006 at 18:05:

> Where does the "a" come from?

this is what I entered in the textfield.


--
greetings from Berlin,

Rüdiger Schulz


> Juergen

> On 4/19/06, Rüdiger Schulz <[EMAIL PROTECTED] > wrote:
>> Hello list,
>>
>> in a form I have a TextField for an email, simply like this:
>>
>> final TextField email = new TextField("email");
>> email.add (EmailAddressPatternValidator.getInstance());
>> add(email);
>>
>> In the properties for the enclosing page, I defined a message for
>> invalid emails:
>>
>> editForm.email.EmailAddressPatternValidator
>>
>> This worked well before upgrading from 1.1.1 to 1.2rc1. Other messages
>> in this properties file for other form components still do.
>>
>> Now I get the message "'a' does not match pattern
>> '[EMAIL PROTECTED]'".
>>
>> I'd say several thing go wrong here:
>>
>> * My custom message gets ignored.
>> * Instead of the default message for
>> EmailAddressPatternValidator, the
>> one for PatternValidator is displayed.
>> * The message for PatternValidator does not display the pattern
>> itself, but its class and adress.
>>
>> Another thing is, although I set another Locale in my application's
>> init(), the english default error is displayed (and I see a german
>> file in the wicket jar). I set the Locale like this:
>>
>> getApplicationSettings().setDefaultLocale(Locale.GERMAN);
>>
>> (I also tried Locale.GERMANY)
>>
>>
>>
>> --
>> greetings from Berlin,
>>
>> Rüdiger Schulz
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>


> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user






-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen

Reply via email to