button.setDefaultFormProcessing(boolean b)
http://wicket.sourceforge.net/apidocs/wicket/markup/html/form/Button.html#setDefaultFormProcessing%28boolean%29
----- Original Message -----
From: "sakthi vel" <[email protected]>
To: <[email protected]>
Sent: Thursday, January 07, 2010 4:30 PM
Subject: TextField & Class Type Validation
Hello,
I have a text field and added the class type as Date, to validate the date
entered.
TextField txtDate = new TextField("txtDate", new Model(), Date.class);
I have two button in the same screen one for the Save for another for
Reset.
When i enter invalid date and press the save button, valid error message
is
shown. But when i press the reset button then also it validates and shows
the errro message.
How to avoid this and kindly explain the factor.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]