posted 13 years ago
hi, maybe I'm missing something very obvious, but this thing here has been bedeviling me for many hours, google couldn't give me a solution either.
Here's my xml validation file snippet
<field name="employeeBean.employeeBirthDate">
<field-validator type="fieldexpression">
<param name="expression">
<![CDATA[employeeBean.employeeBirthDate < Current Date]]>
</param>
<message>Birthdate invalid</message>
</field-validator>
</field>
But I can't seem to find a way to get the current date or time in the xml validation file anywhere. Help would be much appreciated.