Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Two dimensional Array - Struts 1

 
Arulanand Dayalan
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Thanks for reading the post. I am stuck up with this issue for some time and I am looking for suggestion to do it. I need to create the below Slab structure dynamically.



By default, I will have Slab 1. With Lower Income and Upper Level as text boxes which user can enter. Also user can define the Lower Income, Upper Income and Rate dynamically (There will be three text boxes where user can enter values. And 'Add rate' button will be provided, if he clicks on that 3 new textboxes will come down. Using this he can define any number of rates). There would be a add slab button to add a new slab. If he clicks on it Slab 2 would come up, with Lower and Upper income level as Textboxes. And also one row of 3 text boxes with Lower, Upper and Rate will be displayed. I need to do this in Struts. I am able to add the rows etc. But don't have an idea to associate them to form.

For e.g.

Is it possible to declare in the above way and get it in the Action? Thanks in Advance.

Regards,
Arul.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic