You can find the default messages (and keys, obviously) in the org.apache.wicket.Application.properties file.
Regards, Al On Fri, Apr 25, 2008 at 1:20 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > Man, of course - I was so focused on NumberValidator that I completely > forgot about the Integer.class setting which I already have! > > Q: what is the validator I need to refer to when defining my custom > error message in my properties file? > > Michael > > -----Original Message----- > From: Martijn Dashorst [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 23, 2008 11:46 PM > To: [email protected] > Subject: Re: Integer only NumberValidator? > > new TextField("number", ..., Integer.class); > > Integer-ness is checked at conversion level before validation. > > Martijn > > On 4/24/08, Michael Mehrle <[EMAIL PROTECTED]> wrote: > > Javadoc keeps talking about a factory method to create an Integer > based > > NumberValidator, but I don't see it. How do I create a > NumberValidator > > that only permits Integer values? > > > > > > > > Thanks, > > > > > > > > > > Michael > > > > > > > -- > Buy Wicket in Action: http://manning.com/dashorst > Apache Wicket 1.3.2 is released > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
