you can turn on debug logging and wicket will spit out all keys it tries to use.
-igor On Wed, Sep 2, 2009 at 5:27 PM, hill180<[email protected]> wrote: > When the user does not place enough characters (19) I want to show a error > message different than > '1234' is not exactly 19 characters long. > > I have a properties file, but I don't know what the element would be called. > > I have tried > > form.card.ExactLengthValidator=19 Digits are required. > > But Obviously ExactLengthValidator is not the right key. > > My Java code looks like this.. > form.add(new TextField("card", String.class).setRequired(true).add(new > StringValidator.ExactLengthValidator(19))); > > What is the key, and where in the JavaDocs is the best place to find all the > keys. (The wiki only had a couple of the keys.) > > Thank you, > jose > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
