did you tried ${dateStart}? 2008/5/20, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi all, i'm Dome, from Italy, and i'm having my troubles with Date > Validation on Struts 2 :| > > Using xml validation, and need to validate a > date. > > Let's say i have 2 dates taken from html form. I need the second > one (if it does exist: it is not mandatory, actually) to be after the > first one. > > Used coding such as: > > > > <field name="dateEnd"> > > <field-validator type="fieldexpression"> > <param name=" > expression"><![CDATA[dateEnd > dateStart]]></param> > > <message>ERROR MESSAGE</message> > </field-validator> > </field> > > > or > > <field name="dateEnd"> > <field-validator type="date"> > <param name="min">$dateStart</param> (Used > also dateStart or #dateStart) > <message>ERROR MSG</message> > </field-validator> > </field> > > But none worked... > > Any > suggestion? > > > Thanks a lot... > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]