you have to build the message yourself then.

page.getLocalizer().getString("RequiredValidator") or something like that

-igor


On 5/12/07, behlma <[EMAIL PROTECTED]> wrote:


Anyone or is it the wrong approach?


behlma wrote:
>
> Hi guys,
> I'm just fiddling around with the FormTester.
>
> Say I have a RequiredValidator and StringLengthValidator on my
textfields
> in a form, with custom error messages specified in the page's
.properties
> file.
>
> How can I let wickettester retrieve those custom message, instead of
> hardcoding them into:
>
> tester.assertErrorMessages(new String[] {"my custom error message for
> LengthVal", "my custom error message for StringVal}
> ?
>

--
View this message in context:
http://www.nabble.com/Wickettester-and-Validators-tf3728789.html#a10448855
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to