[Wicket-user] Wickettester and Validators

2007-05-11 Thread behlma
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 i

Re: [Wicket-user] Wickettester and Validators

2007-05-12 Thread behlma
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

Re: [Wicket-user] Wickettester and Validators

2007-05-12 Thread Igor Vaynberg
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