This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
avinash avinash
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
alan do
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
search web for struts indexed properties. this will solve your problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic