Bugs item #1471889, was opened at 2006-04-17 20:47
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=1471889&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: Martijn Dashorst (dashorst)
Assigned to: Nobody/Anonymous (nobody)
Summary: ValidationMessage Resource lookup doesn't work for FormInput

Initial Comment:
We have done a great deal of providing our own translated messages as a 
fall through. This doesn't work for FormInput.

Add to the locale box the following locale:

new Locale("hu")

and then open the page, and change the locale to hungarian. Change the 
value of the integer that needs to be between 0 and 100 to -1, and press 
save

You should get the message:

-1 a következő két érték közt kell legyen: 0 és 100.

However you are presented with the message found in 
FormInputApplication.properties

So the XXXApplication.properties takes precedence over the 
Application_hu.properties defined in Wicket core.

You can get the hungarian message by renaming the 
FormInputApplication.properties to something else.

Is this expected behavior? IMO not.


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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to