Try RequiredValidator = ${label} is missing ${label} will either be replace with the component id or in case it is defined, the formComponent's label, which is defined like myPage.myInput = Price
Juergen On 11/3/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > If I put there something like RequiredValidator=XYZ it works. But that's > not what I mean. > > The problem is, that I want to see in feedback something like > > * entry1.RequiredValidator value is missing > * entry2.RequiredValidator value is missing > > So that I know which values should I add. > > Not the situation is that if I don't specify anything, I get > java.util.MissingResourceException: Unable to find resource: > RequiredValidator > But I don't know, for which validator the message is missing. > > -Matej > > Juergen Donnerstag wrote: > > Which version are you using? There is a test in cvs head which tests > > it and it seems to work. Defaults can be defined if the key is just > > RequiredValidator (the validators class name without any prefix). In > > case no other key is found, it'll be used as default. > > > > Juergen > > > > > > On 11/3/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > >>Hi. > >> > >>I just want to ask, why AbstractValidator always throws missing resource > >>exception when Validator message is not found. > >> > >>It virtually ignores application settings. Is this deliberate? > >>During development it's quite inconvenient do deal with these > >>exceptions. Is there any way to disable this behavior? Or am I > >>completely missing something? > >> > >>-Matej > >> > >> > >>------------------------------------------------------- > >>SF.Net email is sponsored by: > >>Tame your development challenges with Apache's Geronimo App Server. Download > >>it for free - -and be entered to win a 42" plasma tv or your very own > >>Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > >>_______________________________________________ > >>Wicket-user mailing list > >>Wicket-user@lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/wicket-user > >> > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user