Get your CodeRanch badge!*
The moose likes Struts and the fly likes Form Bean For Dynamically created elements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form Bean For Dynamically created elements" Watch "Form Bean For Dynamically created elements" New topic

Form Bean For Dynamically created elements

Lakshmi Kishore
Ranch Hand

Joined: Aug 04, 2001
Posts: 51
Here is my scenerio.
I have a form with certain elements say some text-boxes and used can add more text-boxes dynamically, whcih contain different names.
is it possible to use form-bean for the above form? if yes, can any one please tell me how to create and use a form-bean for this type of scenerio.

i completed work without using form-bean as of now but i wants to know, how we can achieve this using form-beans.

Thanks & Regards<br />glkishore
Jason Menard

Joined: Nov 09, 2000
Posts: 6450
Look at the examples and follow the tutorials at this page:
See also Indexed Properties, Mapped Properties, and Indexed Tags in the FAQs and HowTos section of the Struts homepage.
[ January 02, 2003: Message edited by: Jason Menard ]
I agree. Here's the link:
subject: Form Bean For Dynamically created elements
Similar Threads
How does struts handle dynamic forms that grow and its retrieval?
Help for editable list box
how form bean can be mapped in struts for dynamic html generation?
Creating dynamic text boxes in Struts 1