aspose file tools*
The moose likes Struts and the fly likes Two dimensional Array  - Struts 1 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 "Two dimensional Array  - Struts 1" Watch "Two dimensional Array  - Struts 1" New topic
Author

Two dimensional Array - Struts 1

Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Two dimensional Array - Struts 1
 
Similar Threads
Dynamic row generation using struts
How to validate content in dynamically generated textfields?
Clumsy code
URGENT! Mulitbox problem!!
adding textbox dynamically in struts