Re: Nested Dynavalidator forms

2005-09-27 Thread Hubert Rabago
You wouldn't be able to in one declaration, but you could do several then combine them in your Action. In your pre-population action: DynaValidatorForm childForm = childFormBeanConfig.createActionForm(getServlet()); parentForm.set("child", childForm); // use session scope so th

Re: Nested Dynavalidator forms

2005-09-27 Thread Laurie Harper
raghu wrote: How do we build dynavalidator forms that have as one of their fields another dynavalidator form? My first thought was but of course you can't configure the nested dyna form that way. Maybe lazy dyna forms would work here? L. --

Nested Dynavalidator forms

2005-09-25 Thread raghu
How do we build dynavalidator forms that have as one of their fields another dynavalidator form? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validating Nested DynaValidator Forms

2005-03-21 Thread Rick Reumann
jelything wrote the following on 3/18/2005 4:58 PM: Thanks for the feedback. Why wouldn't I want to nest forms? Because how are you going to populate them and create them all? For example, imagine the case where you needed to a master detail edit of company employees (granted this might not be a

Re: Validating Nested DynaValidator Forms

2005-03-18 Thread jelything
Thanks for the feedback. Why wouldn't I want to nest forms? Its entirely possible I missed the point, but I thought that was what was for? Everything but the validating works just fine. I'm sure that I could write my own validation method, but I'm trying to KISS and use the nice validation.xm

Re: Validating Nested DynaValidator Forms

2005-03-18 Thread Rick Reumann
jelything wrote the following on 3/18/2005 1:40 PM: I have a DynaValidatorForm that holds many items, including an ArrayList of DynaValidatorForms. Calling validate() on the main form works just fine, but how do I get the nested forms to validate? If I iterate through the ArrayList, and cast them

Validating Nested DynaValidator Forms

2005-03-18 Thread jelything
I have a DynaValidatorForm that holds many items, including an ArrayList of DynaValidatorForms. Calling validate() on the main form works just fine, but how do I get the nested forms to validate? If I iterate through the ArrayList, and cast them back to a DynaValidatorForm and then simply call v