Bugs item #1476824, was opened at 2006-04-26 13:28
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=1476824&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: Rüdiger Schulz (skyschulz)
Assigned to: Nobody/Anonymous (nobody)
Summary: Message from EmailAddressPatternValidator not correct
Initial Comment:
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]'".
Where 'a' is what I entered in the email-field.
Several thing go wrong here:
* The 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 address (like in
toString()).
This error is still present in 1.2rc2.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1476824&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