On Fri, 5 Jul 2002 [EMAIL PROTECTED] wrote:

> Date: Fri, 05 Jul 2002 15:39:41 +0200
> From: [EMAIL PROTECTED]
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: dynamicaly generated forms and ActionForms
>
> I need to dynamicaly generate a jsp form and retrieve values in a bean. The
> elements of the form must be generated based on a glossary (xml shema) and
> on values retrieved from a database (labels, layout, default value,
> javascript validation, ActionForm validation,...).
>
> Is DynaActionForm the right solution, how can I use it, can I find an
> example?
> Is it a good way to give the same mane to all the elements and use a
> property (same mame) of type Array to get the values automatically.
>

The standard implementation of DynaActionForm is not going to help you
deal with this use case.  It still expects the set of properties for a
particular form bean to be declared in the struts-config.xml file at
application startup time.

Supporting this more general notion of dynamic forms would be a very
popular enhancement.  However, it's a little late to try to get this into
a 1.1 final release, so standard support will have to wait for some future
version.

>
>  There must be someone already gone through.
>
>
>
>
> Gilles Vandaele
>

Craig



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to