wood burning stoves 2.0*
The moose likes Struts and the fly likes iterating tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "iterating tables" Watch "iterating tables" New topic
Author

iterating tables

Sekhar Kapoor
Greenhorn

Joined: Apr 24, 2007
Posts: 15
posted Yesterday 3:15 AM
--------------------------------------------------------------------------------
I have an arraylist which contains Employee information. I need to show it in a table format so that it is displayed as below.
Each Employee handles various operations for diffrent varieties of parts.
For each employee I have to show the operations and parts in a tabular format.Also after each employess information, there will be a second table which will summarise the number of operation for each part for the employee.
These two table will come sequentially for each employee. Can anyone help me how the coding should be done. I am using struts. So will have to have the logic in the java file. and have to use bean property in jsp iterate tag to show the tables..
O. Thoms
Greenhorn

Joined: Nov 21, 2006
Posts: 10
Something like this ??
(Just a quick draft you should add some formating and maybe logic:empty checks)



which would lead to something like:


[ January 16, 2008: Message edited by: O. Thoms ]
[ January 16, 2008: Message edited by: O. Thoms ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: iterating tables