Struts2: Validation between 2 dates (By -validation.xml)
Posted
by Luigi 1982
on Stack Overflow
See other posts from Stack Overflow
or by Luigi 1982
Published on 2010-04-01T14:46:25Z
Indexed on
2010/04/05
7:53 UTC
Read the original article
Hit count: 364
struts2
Hi At All..
I'm using the Struts2 Validation XML. I want to check (Date type) 'date_chiusura' describe a date before 'data_apertura'. It's possibile into my MyActionb-validation.xml file?
Thanks!
<field name="data_apertura">
<field-validator type="required">
<message>Inserire la data di apertura dell'evento</message>
</field-validator>
</field>
<field name="data_chiusura">
<field-validator type="required">
<message>Inserire la data di chiusura dell'evento</message>
</field-validator>
© Stack Overflow or respective owner