Please see http://www.wicket-wiki.org.uk/wiki/index.php/Validation_Messages
Juergen On 2/22/06, Andre Matheus <[EMAIL PROTECTED]> wrote: > Hi all, > > I am using the wicket-1.2-20060216.jar > > I have a panel called PersonFormPanel where I add a form with id=personForm > In this form I add an RequiredTextField with id=name > > I created a properties file in the same folder with an entry like this: > personForm.name.RequiredValidator=Name is a Mandatory field > > The problem is that when I try to submit the form without the name > value, I am getting this error: > Unexpected RuntimeException > Root cause: > java.util.MissingResourceException: Unable to find resource: RequiredValidator > > If i change the properties file to use: > name.RequiredValidator=Name is a Mandatory field > It works fine, but it ignores the form Id. > > Is this the expected behaviour? > > The problem I see with this is that I can not have two different forms > in my panel with elements with equivalent ids and different messages. > > Best regards, > > -- > __ > André Matheus > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
