you need to put the .properties file next to the component that uses
it, or you can have an application-wide one that lives next to your
webapp subclass and has the same name. in that you need to have a line
that says: DivValidator=my message with ${div} arg-igor On Wed, Mar 26, 2008 at 8:47 AM, سارة * <[EMAIL PROTECTED]> wrote: > > Hi > > I'm having a problem displaying an error message when validating a number.. > I am overriding the onValidate method... and the error displayed is > > Could not locate error message for error: > [org.apache.wicket.validation.ValidationError message=[null], > keys=[DivValidator, ValidatorPage$DivValidator], variables=[[div=15]]] > > I read somewhere that i need to write a properites file, but i didnt know > where to put it and how to write it!? and how do i tell the Wicket to display > the error message in there... > > Thanks > HannaH >
