struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhamani, Nizar A TL56E" <Nizar.Bham...@ace-ina.com>
Subject RE: Dynamic list validations
Date Wed, 11 Dec 2002 22:33:46 GMT
Thanks for your response. I am already using this (requiredIf) with
hardcoded field iterator index values i.e. ' field0', 'field_value0', ...

I wanted to know if we can do this without hardcoding the indexes.

Nizar.

-----Original Message-----
From: James Turner [mailto:turner@blackbear.com] 
Sent: Wednesday, December 11, 2002 5:10 PM
To: 'Struts Users Mailing List'
Cc: Nizar.Bhamani@ace-ina.com
Subject: RE: Dynamic list validations

Look at the new RequiredIf validation in the night build, it supports
just this mechanism.

James

> -----Original Message-----
> From: Bhamani, Nizar A TL56E [mailto:Nizar.Bhamani@ace-ina.com] 
> Sent: Wednesday, December 11, 2002 5:07 PM
> To: 'Struts Users Mailing List'
> Subject: Dynamic list validations
> 
> 
> Our forms have a list of input fields and we are using 
> struts-validators to Validate our forms. i.e. the form looks like :
> 
> InputField1[0]      InputField2[0]
> InputField1[1]      InputField2[1]
> InputField1[2]      InputField2[2] 
> InputField1[3]      InputField2[3]
> ....
> 
> I want to perform validations in such a way that 
> If InputField1[0] is entered then InputField2[0] is required. 
> If InputField2[1] is entered then InputField1[1] is required.
> 
> And so on...
> 
> Has anyone performed such validations ?
> 
> Nizar. ____________________________________________________________
> CONFIDENTIALITY
> This e-mail and any attachments are confidential and also may 
> be privileged. If you are not the named recipient, or have 
> otherwise received this 
> communication in error, please delete it from your inbox, 
> notify the sender immediately, and do not disclose its 
> contents to any other person, 
> use them for any purpose, or store or copy them in any medium. 
> Thank you for your cooperation. 
> ____________________________________________________________
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:struts-user-help@jakarta.apache.org>
> 

____________________________________________________________
CONFIDENTIALITY
This e-mail and any attachments are confidential and also may be privileged.
If you are not the named recipient, or have otherwise received this 
communication in error, please delete it from your inbox, notify the sender
immediately, and do not disclose its contents to any other person, 
use them for any purpose, or store or copy them in any medium. 
Thank you for your cooperation. 
____________________________________________________________



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message