Validator and Indexed Properties

2003-11-13 Thread Robert Taylor
As of March 14, 2003 it appears that Struts/Commons validation does not support indexed properties as such: I have a collection of objects A where each A has some properties, call them p1, p2, and p3. I want to validate field p3 for each object A in the collection. Is this currently possible

Struts Validator with Indexed Properties

2003-11-03 Thread Frederic Dernbach
I would like to know how to use the Struts Validator with indexed properties. I cannot display error messages under the field (but the validator obviously works and performs validation). Below is the relevant parts of my JSP and of my valdiation.xml file : Upon submission of the JSP's form, I

Re: Struts Validator with Indexed Properties

2003-11-03 Thread Vijaykumar
validation.xml. -Vijay Frederic Dernbach wrote: I would like to know how to use the Struts Validator with indexed properties. I cannot display error messages under the field (but the validator obviously works and performs validation). Below is the relevant parts of my JSP and of my valdiation.xml file

Re: Struts Validator with Indexed Properties

2003-11-03 Thread Frederic Dernbach
depends=required,integer,positive arg0 key=rubis.strategy.label/ /field You have specified it as indexedListProperty=parameters Plz Verify your validation.xml. -Vijay Frederic Dernbach wrote: I would like to know how to use the Struts Validator with indexed

re: Velocity. Validator and Indexed Properties

2003-02-18 Thread Sujay D'Souza
Thank you for the reply. Yup am using dynabeans. Actually validation works just fine, and populating the Value Object from the form (velocity template) works just fine too. My only problem is when after validation occurs, how do i keep or retain values for each form attribute since they are

Velocity. Validator and Indexed Properties

2003-02-17 Thread Sujay D'Souza
Hello, I have been using Vel-tools (struts) as the view technology along with struts for a while now. I am trying to get Indexed properties on a Velocity Template which is used as an input form which then needs to be validated by Struts validator. I am using dyna beans, and the Value Object is

re: Velocity. Validator and Indexed Properties

2003-02-17 Thread Ted Husted
Does anybody have any tips for getting the validation portion working along with vel-struts. I'm using the Velocity View Tools for Struts with the Validator and conventional beans without a problem. What happens if you just fail validation without using the validator? Or use conventional

[Validator] validating indexed properties

2003-01-20 Thread Raible, Matt
I found the following example of validating an indexed property: fieldproperty=cityStateZip.zipPostal[1] depends=required,mask page=2 arg0 key=registrationForm.zippostal.displayname/ var

Validator: validating indexed properties

2002-12-17 Thread Matt Raible
I have been given the impression that the Validator can be used to validate indexed properties in a form. I'm trying to figure out the validation.xml syntax to perform this validation. If I have a GroupForm that contains an ArrayList of UserForms, how do I configure validation.xml? For