| Author |
How to do the Date validation in .xml
|
Swathi Prakash
Ranch Hand
Joined: Jan 18, 2005
Posts: 49
|
|
i want to do date validation in struts. how to specify that thing in validation. xml. please help me. thanks in advance
|
 |
Mike Floyd
Greenhorn
Joined: Jan 27, 2005
Posts: 26
|
|
File: "validation.xml" <formset> <form> <field property="Name_of_property_into_form bean" depends="date"> <arg0 key="Name_of_Form.BirthDate" /> <var> <var-name>datePattern</var-name> <var-value>dd/MM/yyyy</var-value> </var> </field>
|
 |
 |
|
|
subject: How to do the Date validation in .xml
|
|
|