Hi everybody,

Is there a way to configure a struts2 validator like this :
(The min and max have a parametrized value from the value stack)

<field-validator type="date">
    <param name="min">01/01/${date}</param>
    <param name="max">31/12/${date}</param>
    <message>Set date between ${min} et ${max}</message>
</field-validator>

Thanks in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to