Stretching Panel Splitters

Hi,
I have a template in which I have placed many facet references. I use this template as the base for all my pages.
I have the layout set up in which I have a facet ref for a left side navigator, a top menu area, and a place for the individual content of each page.
The content and the left hand navigator are currently in a panel splitter with the left hand navigator taking the first facet, and the content utilizing the second.
I have the whole thing surrounded by a panelstretchlayout, then a panelgrouplayout = 'scroll', so the whole page will scroll, then a panelgroupLayout='vertical' with a width of 960 and horizontally aligned to the center. Then I stack all of my components and custom facet references inside of that panelGroupLayout. This is where I have the panelSplitter. I would like the contents of this to stretch so that each page can vary in size, depending on how large the "content" area is. I haven't figured out a solution, without setting the height of the panelSplitter.
Any suggestions? It is important that I have the scroll on the outside, and the fixed width.
Basic structure:
*Panel Stretch Layout
**center
***Panel Group Layout (scroll)
****Panel Group Layout (horizontal alignment = center, width = '960')
*****Panel Splitter
******first facet (left hand navigator)
******second (content)
*****PanelGroupLayout (used as a 'footer', that is also the same width as everything else)
Thanks,
Joel
Edited by: JRolls on Feb 22, 2011 10:47 AM

Hi Facehugger,
Generally, you can use MDS for this, as documented [url http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/ad_persist.htm#CIHHEHCF]in the Fusion Developers Guide. The panel splitter position works out-of-the-box.
As luck would have it, I've just finished writing some articles for OTN on this very topic as part of my ADF Development Essentials series - I'm sending them in to be reviewed today or tomorrow, and they should be published relatively quickly.
Best,
John

Similar Messages

  • How to stretch panel form layout

    Hie
    Looks like this component is not strethcable. though my requirement is to
    have 2 row of 3 columns each taking the entire available space. any idea how to achieve this? plz advise

    Hi,
    to quote the documentation: http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_panelFormLayout.html
    - This component cannot be stretched by a parent layout component that stretches its children, e.g., panelStretchLayout.
    - This component does not stretch its children since most input and select components do not support being stretched.
    The latter I think is more of a problem for you as it means that stretching this component (if it was possible) would not have a visual effect to the component it contains. What I would do instead is to try Trinidad HTML components trh:tableLayout, trh_columnLayout trh:cell format to create a 4 column (label, field, label, field) grid
    Frank

  • How to make panel collection with auto height in a ADF page

    Hi,
    I developed a page in ADF of version JDev 11.1.1.4.0 where I had a adf table under adf panel collection. Now I want to change the height based on my screen resolution.
    For width I used the styleClass as "AFStretchWidth" but couldnt find any option for auto height for table due to this I can see vertical scroll bar on my page which I want to avoid.
    Even I tired to create a customized styleClass as shown below but its fixed height but not dynamic
    IN CSS FILE :
    .lookUpPagePannelCollection{
    width:98.5% !important;;
    margin-left:5px;
    margin-left:5px;
    height: 15.5em !important;
    I want to use % in height attribute which is not supporting by panel collection, can anyone tell the alternative way or tell me which version of JDev had this option.
    Thanks in advance.

    Hi,
    Set <af:panelCollection> as a child component of <af:panelStretchLayout> and check output.
    Form Tag Documentation
    Geometry Management
    This component can be stretched by a parent layout component that stretches its children. e.g., another panelStretchLayout, panelSplitter.
    This component uses <f:facet name="top">, <f:facet name="bottom">, <f:facet name="start">, <f:facet name="end">, and <f:facet name="center"> to organize content into each stretched panel. The contents of the facet may be stretched except when the height or width of the facet is set to "auto" via the topHeight, bottomHeight, startWidth, or endWidth attributes which would then cause that facet content to use its natural browser height or width. Examples of child components that can be stretched inside of the panelStretchLayout facets include:
    <af:decorativeBox>
    <af:panelAccordion>
    <af:panelBox>
    <af:panelCollection>
    <af:panelGroupLayout layout="scroll">
    <af:panelGroupLayout layout="vertical">
    <af:panelHeader>
    <af:panelSplitter>
    <af:panelStretchLayout>
    <af:panelTabbed>
    <af:region>
    <af:table>
    <af:tree>
    <af:treeTable>
    See
    http://docs.oracle.com/cd/E14571_01/apirefs.1111/e12419/tagdoc/af_panelStretchLayout.html

  • Layout components - One master, many detail

    Jdev 11...2
    I've been trying to figure out what type of components to use to display one master table and many detail tables at the same time. I have a panel splitter with the master table in facet one then the second facet is split several times so I can display up to eight detail tables. I only see three detail facets when I run the application. Maybe the facets need to be surrounded by something else or formated so that can all display. I don't want to use the paneltabbed since I want to see the all together. Is there a better way to do this? Any tips wold be appreciated.
    LB

    Frank,
    I ended up using nested panel splitters since I wasn't able to stretch the tables inside the panelGoupLayout (I think). Initially I wasn't able to see the content in he panelsplitters, but I had better luck using the second facet for content and using the first facet to hold a nested panelsplitter. Also using positionedFromEnd = true and adjusting the splitter position helped the formatting although I think that will depend on the size of the user's browser window.
    LB

  • Spacing Problem. Can't get rid of it after paragraph break.

    I am creating an html email for Constant Contact and am limited to in-line span styles. I have not been able to eliminate spacing problem between paragraphs. It seems there is a default that is over-riding my padding settings. Any suggestions?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <span style="margin: 0px; padding-right: 0px; padding-top: 0px; font-family: Tahoma, Geneva, sans-serif; font-size: 13px; line-height: 16px; text-align: left; padding-bottom: 0px; padding-left: 0px;">
                <p>&#8226; ProForm stretch panels provide comfort and simple standard sizing. (See <a href="http://www.powerlet.com/sizingChart">Size Chart</a>)</p>
                <p>&#8226; Ultra thin design provides comfort and small storage.</p>
                <p>&#8226; Comfortable heated Polartec fleece collar wicks moisture.</p>
                <p>&#8226; Zippered pockets manage power cables.</p>
                <p>&#8226; Handy, built-in stuff sack allows for compact storage on the vehicle.</p>
                <p>&#8226; Unique sleeve finishing reduces bulk around wrists.</p>
                <p>&#8226; Glove connectors are located at the ends of the sleeves.</p>
                <p>&#8226; Switchable 100 or 60 Watts, for bikes with limited electrical capacity.
                </p></span></td>
            </tr>
            <tr>
    </body>
    </html>

    I dont see an opening body tag or a closing head tag. You also did not close off your <li> tags with </li>.  I dont see the need for a span tag, and while the css is not inline, it is all on the one page, so it should be fine.
    I sent myself this email and I had no gaps or spacing issues.
    gary
    Try this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <style type="text/css">
    .mystyle    {font-family: Tahoma, Geneva, sans-serif; font-size: 13px; line-height: 16px; text-align: left; padding-bottom: 7px; padding-left: 0px;}
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    </head>
    <body>
                 <ul class="mystyle">
                <li>ProForm stretch panels provide comfort and simple standard sizing. (See <a href="http://www.powerlet.com/sizingChart">Size Chart</a>)</li>
                <li>Ultra thin design provides comfort and small storage.</li>
                <li>Comfortable heated Polartec fleece collar wicks moisture.</li>
                <li>Zippered pockets manage power cables.</li>
                <li>Handy, built-in stuff sack allows for compact storage on the vehicle.</li>
                <li>Unique sleeve finishing reduces bulk around wrists.</li>
                <li>Glove connectors are located at the ends of the sleeves.</li>
                <li>Switchable 100 or 60 Watts, for bikes with limited electrical capacity. </li>
                </ul>
    </body>
    </html>

  • ADF 11 - Oracle Developer Day 28.05.2009 Online Tutorial Problem/Bug

    Hello
    I've downloaded the tutorial [http://events.unisfair.com/index.jsp?eid=394&seid=28] for the Developer Day scheduled for the 28.05.2009. [http://events.unisfair.com/index.jsp?eid=394&seid=28]
    I've completed the tutorial and discovered what would seem to be a bug.
    I've reproduced the problem in a new simpler application.
    Its a bit long but here we go.
    The situation is :
    Two panel splitters one inside the other, one vertical split and one horizontal split dividing the screen into a 3 parts, a left column and a right column split into a top and a bottom.
    ADF BC have been created using the Departmetns and Employees tables from the HR schema.
    In the left column there is an adf read only form bound to Departments with navigation controls.
    On the right at the top there is a read only table (with row selection) bound to the Employees view in the Departments view (master-detail)
    On the right at the bottom there is a form bound to the Employees view in the Departments view (master-detail)
    Using the left column read only form I navigate to Department 50 which has employees 120 to 199.
    The Employees af:Table shows employees 120 to 191 without scrolling.
    Using the scroll bar on the employee table I scroll to the bottom of the employees table (now employees 128 to 199 are showing)
    I then select on employee 198
    The form at the bottom right correctly positions on employee 198 however the employee table re-positions on employee 190 !
    Using the scroll bar I scroll to the bottom of the employees table (now employees 128 to 199 are showing)
    Employee 198 is selected.
    I select employee 199
    The form at the bottom right correctly positions on employee 199 however the employee table re-positions on employee 191 !
    I repeat the same process but selection employee 193
    The form at the bottom right correctly positions on employee 193 however the employee table re-positions on employee 185 !
    It would seem that the employee table scrolls up the exact number of rows that need to be scrolled down in order to show the last table row.
    Added to that when the tabel re-positions it would seem to be re-fetching its data...
    Can anybody explain what's going on or confirm the above observations?
    Regards
    Paul

    Hi,
    there is an attribute "displayRow" on the table to set what should be shown after refreshing the table. Set this to "selected"
    Frank

  • Printable page table rows incorrect on showPrintablePageBehavior

    I'm using 11.1.1.3.
    My page has a table that shows rows returned from the database. I also have a command button with a showPrintablePageBehavior tag.
    The table fetchSize and autoHeightRows are set to the rangeSize. Let's say the result set is 100 rows and the table displays 10 rows at a time. If I click the printable button and don't scroll the table the printable page displays fine. As I scroll down the table fetches the next batch of 10 rows.
    When I then click the printable button the rows that are displayed are different that what was on the original page. It shows the first 10 rows and the the row count indicates rows 1-20.
    No matter what row I scroll to, the printable page goes to the beginning of the Iterator's cached rows. The VO Access Mode is set to Scrollable. No other modes seem to work.
    The issue happens even on the demo apps that go to the HR database.
    I've spent considerable time researching this to no avail. That's why I'm finally asking the forum.
    Any guidance would be appreciated. Thanks.

    Sorry, another thought...
    Basically I want the user to be able to print what they see. If the user scrolls down to row 43 I need the printable page to actually show rows 43 -53 and indicate that they are seeing "Rows 43-53 of 100". That doesn't seem to ever happen UNLESS the user has not scrolled at all.
    I know that the user could just click the browser Print button on the original page. However, with panel splitters, flash dvt graphs and other buttons on the page it really doesn't look right.
    Thanks again!

  • Layout with automatic "newline"

    Hello, I have a code
    public class Flow extends JPanel {
         public Flow() {
              setLayout(new GridBagLayout());
              GridBagConstraints c = new GridBagConstraints();
              c.fill = GridBagConstraints.BOTH;
              c.anchor = GridBagConstraints.PAGE_START;
              c.weightx = 1.0;
              c.weighty = 1.0;
              JPanel filesPnl = new JPanel(new FlowLayout(FlowLayout.LEFT));
              filesPnl.setBorder(BorderFactory.createLineBorder(Color.red));
              for(int i=0; i < 10; i++) {
                   JLabel fileLbl = new JLabel("Files-" + i);
                   fileLbl.setOpaque(false);
                   filesPnl.add(fileLbl);
              add(filesPnl, c);
         public static void main(String[] args) {
              JFrame frame = new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.add(new Flow());
              frame.setBounds(400, 300, 400, 200);
              frame.setVisible(true);
    }Panel with files takes all the place by height, is there a way to make it similar to the height of the text that fills it?
    I understand that himself points to stretch panel across the width and height
    c.fill = GridBagConstraints.BOTH;
    c.anchor = GridBagConstraints.PAGE_START;
    c.weightx = 1.0;
    c.weighty = 1.0;but if I use only c.fill = GridBagConstraints.HORIZONTAL; then FlowLayout can not switch to a new line

    ssisqo wrote:
    Hello, I have a codeFor better help sooner, post an SSCCE.
    It seems the only thing that would be required to turn that into an SSCCE, is the package imports for Swing and AWT - just two more lines of code.
    Many people might have automagic IDEs that can insert the imports for them, but I recommend explicitly including them, since:
    a) While some do, others (including me) don't.
    b) It can lead to uncertainty about the specific class being used. E.G. if you saw 'Timer' in code, would it mean the Swing class, the one in the java.util package, or the one javax.management.timer?

  • Shortcut Key v. Toolbar Button - Set in point/set out point

    I know that the shortcut keys to insert an in-point and out-point are Alt+[  and Alt+]  - but is there actually a button to add these points in Adobe After Effects CS6?   I'm terrible at remembering shortcut keys and can't believe that it doesn't appear at least somewhere on the toolbar?
    Thanks, Lisa

    There is nothing in the tool bar but at the bottom of the timeline there is this:
    You can use the in/out/duration/stretch panel to set in and out points numerically. It takes a bit of gettin used to so I'd suggest that you read through some of the training materials on the timeline by typing Timeline in AE's search help field and run through some of the tutorials.

  • INdividual Frames disappear

    I am having problems with the individual frames on the
    timeline disappearing. I have reset the settings multiple times and
    cannot find any settings to put the individual frames back on. It
    seems like a system wide preference because all users on the
    machine have the same issue. Can anyone help?

    A few things:
    How much time are you willing to devote to finding a precise frame among the hundred of thousands that would be generated in single 12-hour period?  Actually, it would be 1,294,704 in 12 hours; I did the arithmetic.  Wouldn't the closest second be adequate?
    Virtual Dub?  For your ends, I say, "Ugh!"
    Attaching a camera to a tree isn't a bad idea; attaching a camera to a sapling or a very young tree is a different story.  You need a stable mount.
    Apparently the exposure of the image isn't a very big concern, which is fine if it's okay with you.
    In AE, you can run video backwards.  You can use Time Remapping, or you can go to the Stretch panel and set it to negative 100.  You'd have to move the clip in the timeline if you use it.
    All in all, I get the notion that you're trying to use AE for something it wasn't designed to do.  It's primarily for effects and compositing of images shot for commercial video/film production. 
    Engineers, while a being a most admirable group of individuals, aren't necessarily the prime users of the application.  You might want to investigate other avenues.
    Now, I hope for your sake that I'm all wet in my remarks.  I hope other people have better solutions than mine for your situation.  Time will tell.

  • To load a application using a URL into a region

    Hi,
    I have divided my page into different areas using panel splitters. In one of the areas , I have dragged a taskflow as a Region. In the taskflow on clicking a button in the View Activity, it leads to a URL View Activity(which has the full URL of a different application). My requirement is on clicking the button on the taskflow, the destination URL should load in that same area of the page and not in the entire browser. Can you please suggest a solution to this?
    Thanks,

    Hi Andy,
    ATD wrote:
    Does your HTML define the regions/points on the map using AREA tags?Yes. it is actually generated using MapSefrver from huge tables of SDO_GEOMETRY (Oracle Spatial).
    If so, you could define a report template that does this and use this for a report based on a table that has the settings for shape, coords, href etcHmm, the code (HTML map) is auto-generated so if I understand you correctly, this might be difficult. One of the HTML is approximately 180KB of text.
    I found a way to do this using dynamic PL/SQL. I created a new table that has a varchar filename and a CLOB for the file data. I then imported the HTML into the table using SQL Developer (copy&paste, nice!). I then created an HTML region and used the following:
    declare
    html clob;
    len number;
    st number;
    c number;
    begin
    select length(data)
    into len
    from FILES
    where name = 'state_query.html';
    st := 1;
    while len > 0
    loop
    if len > 32000 then
    c := 32000;
    else
    c := len;
    end if;
    select substr( data,st,c )
    into html
    from FILES
    where name = 'state_query.html';
    htp.p( html );
    st := st + c;
    len := len - c;
    end loop;
    end;
    Edited by: CoyoteTech on May 13, 2009 7:27 AM

  • Problem with "stretching" when using report generation vi's to print fron panel.

    I am using LabVIEW 6.0.1 and when I use the "Append Front Panel Image to Report" vi to print my fron panel, the result is an elongated (stretched)version of my front panel that runs off the page and doesn't show some of the content. Does anyone know why this happens?

    Hello,
    I have never heard of this problem before. My first suggestion for you is to install the LabVIEW 6.0.2 update, as there were some fixes included in this update regarding printing from LabVIEW. Also, have you tried printing the report to a different printer, to see if the problem is inherent to the subVI or inherent to your printer?
    If you are continuing to have any problems, please let me know, and if possible, attach an example VI to your reply that demonstrates the behavior so I can reproduce it.
    Thanks for your patience on this issue, and have a pleasant day.
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • JDEV 11G R1 - Panel Stretch Layout

    Hi,
    I am using Jdev 11g R1. I would like to know how to set the size of the "Panel Stretch Layout" component to fit to the complete window.
    Whenever I add it it just render on some part of the window and I have to change the width and height to set the size accordingly. But thats really weird.
    Thanks,
    Kamleshwar

    have you tried inlineStyle="width:100%;height:100%;" ?

  • Panel Collection Status Bar Facet is not stretching properly

    hi,
    Panel Collection Status Bar Facet is not stretching properly
    when we change the accessibility large font mode is
    and change the browser text size as Largest.
    thanks in advance

    hi,
    thanks for suggestion but I've already applied the AFStretchWidth styleClass.

  • Is it possible to disable panel stretch/"scaling" on a ThinkPad X200?

    A few months ago, I was enlightened by a thread about how to disable panel stretching and enable the execute disable feature on my N200 laptop (these were features I'd been missing for years) by means of SymCmos. Now that I have an X200, I was impressed to see that you can enable virtualization and execute disable right from the setup screen, but I still can't find any way to disable panel stretch ("scaling") for times when resolutions other than 1280 by 800 are displayed on the screen. Does anyone know of a SymCmos tweak (or any other kind of fix) that can make this happen? Thanks.

    Any updates on this?

Maybe you are looking for

  • ICal - Week/Month View Changes

    Hi there, I recently moved my (small) company from a very ancient version of Now Up To Date (with server) to iCal with iCal server. Most of the people working here are pretty unsavvy tech wise and they don't like it one bit! The main issue seems to s

  • Flying Blind with an HP Pavilion Elite m9452p - no video signal at all -- HELP!!

    This is a Core2 Quad Intel Q8200 Processor PC with 8GB of RAM and 750 GB HDD + 1 TB back up drive running Windows 7 Ultimate 64bit (it came with Vista 64 bit Home Premium, but upgraded to win 7 a while back). It has always performed flawlessly, but l

  • Xbox Live wont connect

    Hey Guys wondering if you could help me. So basically the problem is when I connect to xbox live or the black ops 2 server from my Xbox everything on my network just lags and is unusable, even the game itself.  Normally my connection is fine but toda

  • Open vendors items paid to unique alternative payee in one check

    I have the following open items for a vendor to be paid by the payment program, each vendor has the same alternative payee, and we need just one check is printing to the alternative payee: Vendor | Item |Amount   |Payment Method  | Alternative payee|

  • HT4009 duplicate in-app purchase refund request

    I got billed twice for the same in-app iphone purchase of the iPhone App "53 Languages-Pronounciation" option).  The link from within iTunes to "report a problem" does not work. It does not even work after asking for my iTunes account login. This see