permaculture playing cards*
The moose likes Struts and the fly likes making the table scrollable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "making the table scrollable" Watch "making the table scrollable" New topic
Author

making the table scrollable

Ankur Premi
Greenhorn

Joined: Aug 07, 2010
Posts: 17
I have written this code for making the table scrollable. It's Working fine when i am hardcording the data for the table. But when i am using struts iterator tag for the data from the database , the table becomes unscrollable. Please help.

Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

My guess is that the problem could be caused by how struts formats pages. This is determined by the struts form theme.
What theme are you using?
Ankur Premi
Greenhorn

Joined: Aug 07, 2010
Posts: 17
I am making my form theme="simple"
Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

Ankur Premi wrote:I am making my form theme="simple"

Then how Struts lays out the generated HTML shouldn't be a problem.
The next thing I would do is check out the generated HTML and compare the Struts versus what works.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: making the table scrollable
 
Similar Threads
What American Accent Do You Have?
HTML does not print properly - table width exceeding 100%?
fixed header, problem with alignment, must support all browsers
Resizing HTML Table Columns
Page displaying in IE6 and older versions but not in Higher versions, chrome and firefox also.