You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sebastiaan van Erk <se...@sebster.com> on 2009/12/01 15:24:37 UTC
validation string resource name prefix
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
Re: validation string resource name prefix
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Yes it is possible ;)
Make sure it is worth it before pursuing.
**
Martin
2009/12/1 Sebastiaan van Erk <se...@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org