validation string resource name prefix

2009-12-01 Thread Sebastiaan van Erk

Hi,

I would like all the validation strings on a specific page to have a 
specified prefix, e.g., if I have a field password with a length 
validator on my page, I would like the following resource strings tried 
in the listed order:


myPageLabel.password.StringValidator.minimum
password.StringValidator.minimum
StringVaildator.mininum

I would like to be able to specify the label for the page manually 
(i.e., they get stored in the db, and I don't want the full java class 
name prepended if possible).


Is this possible?

Regards,
Sebastiaan


smime.p7s
Description: S/MIME Cryptographic Signature


Re: validation string resource name prefix

2009-12-01 Thread Martin Makundi
Yes it is possible ;)

Make sure it is worth it before pursuing.

**
Martin

2009/12/1 Sebastiaan van Erk sebs...@sebster.com:
 Hi,

 I would like all the validation strings on a specific page to have a
 specified prefix, e.g., if I have a field password with a length validator
 on my page, I would like the following resource strings tried in the listed
 order:

 myPageLabel.password.StringValidator.minimum
 password.StringValidator.minimum
 StringVaildator.mininum

 I would like to be able to specify the label for the page manually (i.e.,
 they get stored in the db, and I don't want the full java class name
 prepended if possible).

 Is this possible?

 Regards,
 Sebastiaan


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org