File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes scrollable layout without frames Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "scrollable layout without frames" Watch "scrollable layout without frames" New topic
Author

scrollable layout without frames

Tony Walters
Ranch Hand

Joined: Feb 13, 2003
Posts: 54
I've a feeling this is not possible, but does anyone know of a means in JSF of providing a split page with one half vertically scrollable - independantly of the other half. The scrollable half contains text and graphics. I'm guessing frames is the only way to do this.

Thanks in advance.
Gerardo Tasistro
Ranch Hand

Joined: Feb 08, 2005
Posts: 362
<span> or <div> could do the job too.
madhuri madhuri
Ranch Hand

Joined: Jan 18, 2006
Posts: 58
Hi All,

I am having a similar problem. I tried to use the <div> tag but it doesnot work in my case.

I also tried the following:


Can somebody help me in solving this?

Thanks,
Madhuri


~Madhuri
Patricio Hervas
Greenhorn

Joined: Mar 28, 2006
Posts: 16
Hi.

I think you can set the css "overflow" property of a <div> to "scroll"
and it should display the scrollbars as long as you define a "width" and "height".

check
http://www.w3schools.com/css/pr_pos_overflow.asp
madhuri madhuri
Ranch Hand

Joined: Jan 18, 2006
Posts: 58
Originally posted by Patricio Hervas:
Hi.

I think you can set the css "overflow" property of a <div> to "scroll"
and it should display the scrollbars as long as you define a "width" and "height".

check
http://www.w3schools.com/css/pr_pos_overflow.asp


Thanks Patricio. This works for me.

Now, i have another question, i have a whole bunch of records(Rendered as a dataTable) in the lower part of the page and details(a bunch of panels) of one of the records on the top frame (Which are editable). I want to show the row whose details are being showed in the top frame on the top of the lower frame.
For instance, if there are say 10 rows in the lower frame, and the details of row 6 are exposed on the top frame, i want the user of my application to see the row 6 at the top. Its king of the # tags used in plain html.

Can anybody help me in this...?

Thanks,
Madhuri
 
I agree. Here's the link: jrebel
 
subject: scrollable layout without frames
 
Similar Threads
frames, scrolling, spreadsheet
To Frame or not to Frame
Frameset JSP
scroll: a row is partially / completely viewed ?
Scrollbars on JFrame when JInternalFrame is bigger than the JFrame