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

Similar Messages

  • How to make panel collection with auto width and height in popup dialog ?

    Hi,
    I have ony af:popup in that I have added af:dialog. And in this af:dialog I have added af:table which is surrounded by af:panelCollection.
    Means my popup structure is like as below
    af:popup
    af:dialog
    af:panelCollection
    af:table
    If I set resize="on" in af:dialog then I can able to resize my popup dialog but the panelCollection inside the af:dialog is not become auto adjusted.
    I am able to make panelCollection width auto adjusted by using AFStretchWidh style class but not able to adjust its height.
    Hope you can understand my problem and pls try to provide me its solution if you have already implemented this.
    Regards,
    DevD

    I believe you are using af:panelGroupLayout because there are some other components except af:panelCollection, so try this combination
    <af:popup id="p1">
      <af:dialog id="d2" resize="on" stretchChildren="first">
        <af:panelStretchLayout id="psl2">
          <f:facet name="bottom"/>
          <f:facet name="center">
            <af:panelCollection id="pc1">
              <f:facet name="menus"/>
              <f:facet name="toolbar"/>
              <f:facet name="statusbar"/>
              <af:table var="row" rowBandingInterval="0" id="t1">
                <af:column sortable="false" headerText="col1" id="c1">
                  <af:outputText value="#{row.col1}" id="ot5"/>
                </af:column>
                <af:column sortable="false" headerText="col2" id="c3">
                  <af:outputText value="#{row.col2}" id="ot4"/>
                </af:column>
                <af:column sortable="false" headerText="col3" id="c2">
                  <af:outputText value="#{row.col3}" id="ot3"/>
                </af:column>
                <af:column sortable="false" headerText="col4" id="c4">
                  <af:outputText value="#{row.col4}" id="ot2"/>
                </af:column>
                <af:column sortable="false" headerText="col5" id="c5">
                  <af:outputText value="#{row.col5}" id="ot1"/>
                </af:column>
              </af:table>
            </af:panelCollection>
          </f:facet>
        </af:panelStretchLayout>
      </af:dialog>
    </af:popup>Put only af:panelCollection in CENTER facet of af:panelStretchLayout and use other facets of af:panelStretchLayout for other components.

  • Panel collection with auto height for different screen resolution

    Hi.
    I created a page using panel collection by default height for 1024 * 768 screen resolution and works fine. When I change the screen resolution to 1152 * 864 then my page layout changes as I can see lot more space at bottom due to fixed height define for panel collection.
    Here my question is how to make height as dynamic for panel collection which can changed based on screen resolution. Usually percentage for height attribute resolve the issue but JDev 11.1.1.4.0 doesn't support percentage its allows only pixel or em.
    Please let me know to resolve this issue.
    Thanks

    If you want a table to occupy 80% of the height of the screen you should be able to do this with assigining % to the various panelStretch facets - like this:
        <af:form id="f1">
          <af:panelStretchLayout id="psl1" topHeight="10%" bottomHeight="10%">
            <f:facet name="bottom">
              <af:spacer width="10" height="1" id="s2"/>
            </f:facet>
            <f:facet name="center">
              <af:panelCollection id="pc1">
                <f:facet name="menus"/>
                <f:facet name="toolbar"/>
                <f:facet name="statusbar"/>
                <af:table var="row" rowBandingInterval="0" id="t1">
                  <af:column sortable="false" headerText="col4" id="c1">
                    <af:outputText value="#{row.col4}" id="ot1"/>
                  </af:column>
                  <af:column sortable="false" headerText="col5" id="c2">
                    <af:outputText value="#{row.col5}" id="ot2"/>
                  </af:column>
                </af:table>
              </af:panelCollection>
            </f:facet>
            <f:facet name="start"/>
            <f:facet name="end"/>
            <f:facet name="top">
              <af:spacer width="10" height="1" id="s1"/>
            </f:facet>
          </af:panelStretchLayout>
        </af:form>

  • How to make the collection with fetched rows process dependant

    Hello,
    I have the following problem.
    A page containing some select lists narrowing the tabular form selection. In this tabular form I have an edit button that goes to another "detail" page for editing the selected record. Now I want to put next and previous buttons on this detail page but the should only take the records into account select on the master by the select lists. For the moment I get all records from the table.
    How can I manage that.
    Second question. Is there a way to highlight the record you were editing when you navigate back to the "master" page?
    thanks for the help
    No one a solution ?
    Erwin
    Message was edited by:
    Erwin L

    This is your third posting on this topic.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    We don't have access to your database so the code can't be executed.

  • How to make a redirect without auto-redirect from the portlet "edit" mode?

    How to make a redirect without auto-redirect from the portlet "edit" mode?
    I use some sofisticated customizing with server-side validation of the form data. I want to redirect to the page of the portlet "show" mode and to the "edit" mode depending on the validation results. How can I do it?

    Heay.....this worked for me.
    I am able to change the mode programatically from edit to show.
    HttpPortletRendererUtil.handleEditAction(portletRenderRequest,"OK");
    I removed Apply , OK and Cancel buttons and applied my own Submit and Back button in Personalize mode and then change the mode to show on click of Back button using the above mentioned statement.
    Thanks
    ~Neeraj Sidhaye
    Try_Catch_Finally @ Y !
    ExtremePortal @ Gmail&#12288;&#65316;&#65359;&#65364;&#12288;&#65315;&#65359;&#65357;

  • How to make this work with Firefox, HELP!

    Downloading for Real-player, after watching the full movie, I click download and it has to reread the movie from the internet. When using explorer, after downloading the movie, it reads it from memory, which makes it a fast download. How to make this work with Firefox, I like not to use Microsoft products, and I really like Firefox 7.0.1!!!! HELP!

    -> click '''Firefox''' button and click '''Options''' (OR File Menu -> Options)
    * Advanced panel -> Network tab
    * place Checkmark on '''Override Automatic Cache Management''' -> under '''Limit Cache''' specify a large size of space
    * Remove Checkmark from '''Tell me when websites asks to store data for offline use'''
    * click OK on Options window
    * Restart Firefox
    Check and tell if ts working.

  • How to make text columns with adobe muse

    Hi,How to make text columns with adobe muse (like InDesign)?

    Multiple columns can be acheived with CSS - http://www.w3schools.com/css/css3_multiple_columns.asp
    div
    -moz-column-count:3; /* Firefox */
    -webkit-column-count:3; /* Safari and Chrome */
    column-count:3;
    I'm surprised that Muse does not support text columns yet, but perhaps the custom CSS can be added in style tags on page properties. Haven't tried it, but don't see why it wouldn't work.

  • How to make email link with a button with AC2 in flash cs3?

    How to make email link with a button with AC2 in flash cs3?
    I wrote this, but it does not work:
    btn_emailinfo.on (release) {
    getURL("mailto:"[email protected]");
    }

    I am guessing you put that on a frame?
    If so, the syntax is as follows:
    btn_emailinfo.onRelease = function(){
    getURL("mailto:[email protected]");
    Though, if you are placing it directly on the button itself,
    the syntax is:
    on(release){
    getURL("mailto:[email protected]");
    }

  • How can i install shockwave with auto updates disabled?

    how can i install shockwave with auto updates disabled?
    i need to push out shockwave to all our machines and i need to have autoupdates disabled? whats the trick?

    I ran with native io enabled and now i need to see how things happen with native io disabled.I am trying to understand the various aspects of the server.
    Can you help me? How to set the default queue and application specific queues , and oofcourse socket readers in the case native performance packs are not used?
    Please, I will be very grateful.

  • I reset my phone and it now receives calls that were meant for my husband. I know how to fix this with messaging and facetime, but can't seem to find how to make it stop with the calls. Please help.

    I reset my phone and it now receives calls that were meant for my husband. I know how to fix this with messaging and facetime, but can't seem to find how to make it stop with the calls. Please help.

    It may be due to Continuity
    The following quote is from  Connect your iPhone, iPad, and iPod touch using Continuity
    Turn off iPhone cellular calls
    To turn off iPhone Cellular Calls on a device, go to Settings > FaceTime and turn off iPhone Cellular Calls.

  • In JSF, how to make a menu with access control?

    In JSF, how to make a menu with access control?
    The access control can be guided by programming, database or other means if possible?
    Thanks

    I want to make a dvd menu in iMovie because i don't have IDVD and can't find anywhere to download it?
    For making DVDs I would recommend iMovie 06 and iDVD 09 both readily available on Amazon or eBay.  Shop for iLife 06 and iLife 09.
    You can make menus and chapters with any version of iMovie except the latest one. There's nothing wrong with iMovie 11 either but I prefer iMovie 06.
    By using iMovie 06 and iDVD 09 I make DVDs with professional moving menus with very little effort. They look almost as good as Hollywood.

  • How to make slide images with Dreamweaver CS6?

    How to make slide images with Dreamweaver CS6? Please teach me.

    Hello
    in addition to Jon's hint, I'll send you some links to nice sliders (have fun with the different representations ):
    http://sandbox.scriptiny.com/javascript-slideshow/
    http://jquery.malsup.com/cycle/
    http://wowslider.com/best-jquery-slider-crystal-linear-demo.html
    http://www.jcoverflip.com/demo
    http://www.jacksasylum.eu/ContentFlow/
    http://addyosmani.com/blog/jqueryuicoverflow/
    You only need to use the source code to implant these shows there where you want. In my eyes it would be the best that you use first a very new and blank DW file to perform (maybe in LiveView) the one or the other.
    Hans-Günter

  • After clicking on an open tab, how to make the focus automatically go to the body of page?

    After clicking on an open tab, how to make the focus automatically go to the body of page?
    Right now, clicking in an open tab and using arrow keys now moves through the open tabs. I liked the old versions where right after clicking in a tab you could directly go to navigate the page with the arrow keys.
    Is there a something I can change in about:config to change this behavior?
    Thanks in advanced.

    Firefox should still set the focus the the browser area if you click a tab.<br />
    Only with very old browser versions you could set the focus to a tab by clicking a tab.
    This behavior is likely caused by an extension.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can I start firefox with new tab instead of blank page?

    Today I update firefox to 13.0. I like the new "new type". I want to konw how can I start firefox with new tab instead of blank page?
    I don't want to change the homepage to about:newtab.
    Sorry for my bad English.

    This is a very annoying thing. Every update from Firefox resets this config setting back to about:newtab. I changed '''''browser.newtab.url''''' in 12.x to '''''about:blank''''' and it resetted back in update 13.0 and now I have to do the same thing again in 13.0.1.
    The drawback with about:newtab is Firefox opens up dataports for every URL that are linked and gets reopened for every lame 'newtab' you click on. Just use [http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx Tcpview - data port viewer] and watch how many extra dataports that opens up from this crazy 'feature'.

  • How to call java function with parameter from javascript in adf mobile?

    how to call java function with parameter from javascript in adf mobile?

    The ADF Mobile Container Utilities API may be used from JavaScript or Java.
    Application Container APIs - 11g Release 2 (11.1.2.4.0)

Maybe you are looking for

  • Best practice using regular properties

    What is considered best practice when it comes to using properties ? Example like hostname, port number when connecting towards an external resource. Should property files be used ? Is this considered a bad practice ? Should deployment descriptors be

  • Is there a way to see the last time my ipad was online?

    I lost my ipad and I can't use the locate my iphone app because the ipad is offline.  I am wondering if there is a way to see when the last time it was connected to the internet and where it was the last time it was connected. 

  • Input level meter not working in multitrack

    Wanted to see if anyone could help with this problem.  This problem has persisted in 5.5 and now 6.  My input levels work fine in wave editor but not in multitrack.  When I try to right click it's greyed out.  Im a vo artist so my setup is pretty str

  • Archive MM_ACCTIT object issue

    Hi, we are planning to do archiving in ERP systems. initially i  have gone through the documentation and done for one  archiving object MM_ACCTIT using SARA transaction in the following ways. 1. created archive files with WRITE  button 2. deleted arc

  • Scheduled entries in i-Pad 1 are duplicated entires in laptop and desktop.  How do I stop this?

    Scheduled entries in i-Pad are duplicated entries in laptop and desktop.  How do I stop this?