I have just read 
http://cwiki.apache.org/WICKET/form-validation-messages.html Form validation
messages 

Form form = new Form("f");
....
final TextField percentage = new TextField("percentage", percentageModel,
Integer.class);
        percentage.add(new NumberValidator.MinimumValidator(1));
        percentage.add(new NumberValidator.MaximumValidator(100));
        form.add(percentage);

.....properties
f.percentage.NumberValidator.MinimumValidator=Il valore del campo deve
essere compreso tra 1 e 100
f.percentage.NumberValidator.MaximumValidator=Il valore del campo deve
essere compreso tra 1 e 100

How can force always the same error message?
f.percentage=Il valore del campo deve essere compreso tra 1 e 100


-- 
View this message in context: 
http://www.nabble.com/How-can-force-always-the-same-error-message--tp18772519p18772519.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to