This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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?
Resizing HTML Table Columns
HTML does not print properly - table width exceeding 100%?
Page displaying in IE6 and older versions but not in Higher versions, chrome and firefox also.
fixed header, problem with alignment, must support all browsers