Re: error comparing date fields using validwhen

2005-03-17 Thread Sivakumar Santharam
Niall, I imported the struts 1.2.6 build jar files and I am getting the same error. The fields have dates in mm/dd/ format. Do struts perform String comparision always even if the form field value is of different kinds? I am trying to compare two date fields and how does struts know? I am con

Re: error comparing date fields using validwhen

2005-03-16 Thread Niall Pemberton
On the javascript side, there is no javascript "validwhen" validation - its server side only. On the server side problem, because its an XML file I don't think you can use the > symbol - try replacing it with > (*this* > startDate) One last thing, I don't know if its going to affect you, but th

error comparing date fields using validwhen

2005-03-16 Thread Sivakumar Santharam
There are two fields in the form.I tried to use validwhen to validate one of against the others like below. test ((*this* > startDate)) Basically I am trying to throw an error if the end date is greater than the start date. Even though I have included the client side validat