Hello

have a look at
http://www.reumann.net/do/struts/lesson3/step5

there the DynaActionForm is populated over an ActionClass with the Values
needed in the select boxes

Hope this is what you have meant

Good luck
Michael



----- Original Message -----
From: "Looser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 30, 2003 8:01 AM
Subject: Manually populating a dynaActionForm


> Hi,
>
> i'd like to use the struts mechanism to create dynamic dynaActionForm
> which holds applicationwide dbvalues. These values will fill formfields
> like selects etc.
>
> I habe insertet a <form-bean> tag an the bean is correctly initialised.
> Now, there seems to be a way to access this bean as follows:
>     ModuleConfig config = (ModuleConfig)
> getServletContext().getAttribute(Globals.MODULE_KEY);
>     FormBeanConfig fc = config.findFormBeanConfig("myForm");
>
> My Problem: how do i populate the fc Object with my db values ?
>
>
> ---------------------------------------------------------------------
> 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