Bugs item #1473763, was opened at 2006-04-20 20:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1473763&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Eelco Hillenius (eelco12)
Assigned to: Nobody/Anonymous (nobody)
Summary: Message from EmailAddressPatternValidator not displayed corr

Initial Comment:
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)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1473763&group_id=119783


-------------------------------------------------------
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?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to