Still have to commit, but it does now.
Eelco
Igor Vaynberg wrote:
Brad,
You are right, the resourceKey() func in the AbstractValidator doesn't yet
take the custom key into account. Im sure this will be taken care of in the
near future, the validators are still being worked on.
See the mailing list for details.
Igor
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Brad Pardee
Sent: Wednesday, July 20, 2005 8:38 AM
To: [email protected]
Subject: RE: [Wicket-user] Replacing messaging strategy in
AbstractValidator
Hi Igor,
Thanks for the info! Looks like I should have done more
investigation of the mailing lists and how
Localizers/overriding StringResourceLoader works. (I'm a
newbie, thats my excuse)
I think your stuff combined with being able to locally
override the resourceKey (see
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1
240458&group_id=119783)
would be a good thing. It looks like their doing this in
1.1, although the current version of AbstractValidator
doesn't seem to use the local version of resourceKey if its
been set. If this is done, RequiredValidator should be made
non-singleton and maybe setResourceKey should return
IValidator so you can chain.
-Brad
Hi Brad,
For my application, I wanted to use a central properties file for
the validation messages.
I was looking to do this exact same thing. My version
is >here:
http://www.mail-archive.com/[email protected]
/msg01977.
html
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies from IBM. Find simple to follow Roadmaps,
straightforward articles, informative Webcasts and more! Get
everything you need to get up to speed, fast.
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user