Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF: Making a Panel Splitter occupy all the available height

AndreasNielsenOct 11 2010 — edited Mar 13 2012
Hi,

I have a vertical Panel Splitter that contains a set of master-detail tables - the master in the first facet and the details in the second. I have PositionedFromEnd = true and SplitterPosition=200. The idea is that the user should be able to choose to view just the master table, which is given space to display more rows at a time when the splitter is clicked (hiding the details table).
My problem is the total height of the Panel Splitter. I would like the Panel Splitter to occupy all the available height, no matter what the current screen size is. But I have had no luck achieving this so far. If I give the Panel Splitter an absolute height through the InlineStyle property, I get a Panel Splitter that fits one particular screen size and doesn't adapt to other screen sizes. If I don't give the Panel Splitter an absolute height, the Panel Splitter occupies only a small square of the screen (about 300 by 300 pixels).

The Panel Splitter is surrounded by a Panel Group Layout - Scroll, which is placed in the center facet of a Panel Stretch Layout (all other facets are removed). I've tried some variations of this, for instance placing the Panel Splitter directly in the center facet of the Panel Stretch Layout, but that just seems to make the layout even worse (only a part of the Panel Splitter is visible, and the splitter itself is not visible).

My total "component path" or what else you might call it, including the page template the page is using, is this:
Panel Stretch Layout
*Center Facet
**Decorative Box
***Center Facet
****Panel Stretch Layout
*****Center Facet
******Panel Group Layout - Scroll
*******Panel Form Layout
*******Panel Stretch Layout
********Center Facet
*********Panel Group Layout - Scroll
**********Panel Splitter - vertical
***********First Facet
************Master Table
***********Second Facet
************Details Table

(The Panel Form Layout is a sibling to the Panel Stretch Layout listed after it, not its container or parent. I don't think that it should have any impact on the behavior of the Panel Splitter, but I thought I'd better mention that it is there just to be on the safe side - in case I'm wrong)

Can anyone suggest how I might make the Panel Splitter occupy all the available height (whatever it may be), or is it just not possible?

Regards,
Andreas
This post has been answered by Dimitar Dimitrov on Oct 11 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 10 2012
Added on Oct 11 2010
3 comments
3,303 views