You could use the "Lazy" stuff I wrote.

I only have "validator" versions of Lazy Forms - you could use them and set
validate="false" on the Action in struts-config.xml or put a LazyDynaBean in
your action form.

http://www.niallp.pwp.blueyonder.co.uk

Niall


----- Original Message ----- 
From: "Andy Engle" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 14, 2004 11:53 PM
Subject: Re: when not to use an ActionForm


> [EMAIL PROTECTED] wrote:
>
> > Richard,
> > Its not necessary to use ActionForm, but it is always better to use
> > one(its my philosophy). But yes it will work the way you are doing
> > it. But i rather prefer a ActionForm which can also help in future
> > for any validation or in future if decided to add more attributes to
> > the form..
>
> With this discussion in mind, I am wondering if there is any way I can
> use an ActionForm in the following scenario: I would like to have a
> list of fields, dynamically created, with names that have been
> dynamically created along with those fields.  So, for example, I would
> have a series of input fields like this:
>
> <input type="text" name="field_1">
> <input type="text" name="field_2">
> <input type="text" name="field_3">
>
> The "field_" part of the name value will stay, but the number will
> change.  With these field name values being so dynamic, is there any
> trick I can use to feed all this into an ActionForm?  I don't think
> there is, unless I am missing something...
>
>
> Thanks,
> Andy
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to