As far as I know you need to implement your own pluggable validator (not
difficult) -- unless Struts has a new feature that automates this (I
don't know of one but I'm not using the latest version).
Erik
Norris Shelton wrote:
I'm trying to ensure that the start date is less than the end
date.
<field property="startDate" depends="validwhen">
<arg0 key="startDate"/>
<var>
<var-name>test</var-name>
<var-value>((endDate > startDate) or (*this*
== null))</var-value>
</var>
</field>
I already have validations to ensure that they are valid dates
(before this).
Nothing happens. Any suggestions?
=====
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
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]