O.k. if I understand correctly this can also be achieved by map-backed
Action Form.

In the how-to you referenced the JSP contains only html:text elements
with previously knows field names (like custNo, custName etc).

But what if the fields number and names come from the database and the
types are not only html:text?
Do you have a more detailed example?

Thanks
Rivka

-----Original Message-----
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 07, 2006 5:16 PM
To: Struts Users Mailing List
Subject: Re: dynamic input form

The link I gave does that - it also has a link to some additonal "how
tos"
which give more details. Essentially though any properties can be added
"dynamically" to a lazy dyna bean at run time - they don't have to be
defined in advance.

Niall

----- Original Message ----- 
From: "Rivka Shisman" <[EMAIL PROTECTED]>
Sent: Tuesday, March 07, 2006 2:40 PM


Hi Niall,

Can you please explain how do lazy dyna beans solve my problem?

Thanks
Rivka


-----Original Message-----
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 3:54 PM
To: Struts Users Mailing List
Subject: Re: dynamic input form

You could use lazy dyna beans:

http://struts.apache.org/struts-action/userGuide/building_controller.htm
l#lazy_action_form_classes

Niall
----- Original Message ----- 
From: "Rivka Shisman" <[EMAIL PROTECTED]>
Sent: Tuesday, March 07, 2006 1:46 PM


Hi friends,

I need to present my user an html form whose fields are built
dynamically using data I get from the database.

I need your advice on how to do that.

Thanks

Rivka



---------------------------------------------------------------------
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