Hi, I dont see how this reply solves the problem.

The forms fields have this:
passwordField.setRequired(true);

the Page.properties file has the following structure:
Form.FeildName=fieldname
RequiredValidator=Holy cow, ${lablel} is blank.

This works fine, except the "Required Validator" part of the properties file
does seem to work any more.  I.e. it picks up the Form.Fieldname but not the
RequiredValidator patterns.

I am aware that RequiredValidator has been depricated, and there is no
direct replacement, but how do you get the "RequiredValidator" string
functionality back?  E.g. if you need to translate the default "Field 'xx'
is required." which is hard coded into reply a the moment?

Which class has an onErrorMessage() call?  The form has a bunch of error
methods which presumably can be overridden, but not this one.

Many thanks for any help!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/RequiredValidator-tp1864291p3088996.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to