wood burning stoves 2.0*
The moose likes Ranch Office and the fly likes Need to generate a form dynamically with repeating form elements [Based on the number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Reply locked New topic
Author

Need to generate a form dynamically with repeating form elements [Based on the number

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Using Struts, Need to generate a form dynamically with repeating form elements [Based on the number N entered by user] the FORM should show the below Logo's elements N times in a JSP , user will then enter all fields and submit the form.

(refer output.htm attached)

Logo#1 - label

Name_1 textbox Description_1 textarea Status_1 radio button Sequnce_1 textbox

Logo#2 - label

Name_2 textbox Description_2 textarea Status_2 radio button Sequnce_2 textbox

etc

The above is needed in Create/ Edit screen of Logos collection data. How to achieve this with Struts f/w ? If anyone has worked on such Form display and Validations using Struts, pls reply back ...

thanks, Avinash
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

We have a Struts forum for these questions, but you will need to register first. Registering is free and does not include spam or any other nasties.
 
wood burning stoves
 
subject: Need to generate a form dynamically with repeating form elements [Based on the number
 
Similar Threads
Drag & Drop feature using GWT
making the textbox readonly
List Of Radio buttons with other option
Need to generate a form dynamically with repeating form elements [Based on the number
logic:iterate ?? Urgent - please help!!!!