How to add scroll bar within af:showDetail

I have added a af:panelGroupLayout to af:showDetail, and set the "layout" property of the panel group layout out to "scroll". However, the scroll bar still does not show up within af:showDetail. If I set the height for the panel group layout within af:showDetail, then the scroll bar shows. But then it will not stretch vertically upon stretching the dialog vertically. Is it possible to add scroll bar within af:showDetail?
Here's a sample code which I tried -
<*af:panelStretchLayout* id="psl1">
<f:facet name="center">
<*af:showDetail* disclosed="false" id="sd1" disclosedText="Metadata"
undisclosedText="Metadata">
<*af:panelGroupLayout* id="pgl2"
inlineStyle="background-color:White;"
layout="*scroll*">
</panelGroupLayout>
</af:showDetail>
</f:facet>
</af:panelStretchLayout>

Yes, you can try panelStretchLayout as well.
Copy following fragment into an empty <af:document> to see the difference.
<af:form id="f1">
<af:showDetail disclosed="true" id="sd1">
<af:panelStretchLayout id="psl1">
<f:facet name="bottom"/>
<f:facet name="center">
<af:panelGroupLayout id="pgl1" layout="scroll">
<af:outputFormatted value="outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>"
id="of1"/>
</af:panelGroupLayout>
</f:facet>
<f:facet name="start"/>
<f:facet name="end"/>
<f:facet name="top"/>
</af:panelStretchLayout>
</af:showDetail>
<af:showDetail disclosed="true" id="sd2">
<af:panelGroupLayout id="pgl2" layout="scroll">
<af:outputFormatted value="outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>outputFormat1&lt;p>"
id="of2"/>
</af:panelGroupLayout>
</af:showDetail>
</af:form>
Enjoy ADF...
Todd

Similar Messages

  • How to add scroll bar in child form ( vb6.0 )

    look at this picture link (i think you will understand the issue)
    http://tinypic.com/r/25k232u/8
    These information(class1,class2 ……) are loaded from database and this time the information is too much and it moves down to the appearing part of the window and unable to view these items
    How to add scroll bar in visual basic child form so that the data items can be viewed by scroll in case it go beyond the screen.

    Hi,
    Welcome to MSDN.
    I am afraid that these forums donot support VB6 any more, you could refer to this thread:
    Where to post your VB 6 questions
    You could consider posting this issue in these forums below:
    These forums do not support Visual Basic 6, however there are many third-party support sites that do. If you have a VB6-related question please visit these popular forums:
    VB Forums
    VB City
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to add scroll bar to a labview wave graph?

    I want to know if there is a to add scroll bar to a labview wave graph.

    Look here:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000001E400000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

  • How to add scroll bar in webi table

    Hi Experts,
    Currently i am working on webi report it consist lot of tables and charts. As per my requirement the webi table should contain scroll bar instead of showing all data in single shot. And user will scroll down  if he/she required.  Is it possible in webi?
    Regards,
    PRK.

    Hi Praveen,
    Adding scroll ball in Webi table is not possible currently.
    Requests has been raised by some people in SAP Idea place, see the link below for more details.
    You can vote in SAP Idea place for getting this feature
    Add scroll bars for Webi tables : View Idea

  • How to add scroll bars to a panel

    Hi
    Can anyone plz tell me how to add a scroll bar to a panel created within a JFrame
    Regards
    ats

    import javax.swing.*;
    import java.awt.*;
    class Testing extends JFrame
      public Testing()
        setLocation(300,200);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel jp = new JPanel();
        jp.add(new JLabel("Label on a panel"));
        jp.setPreferredSize(new Dimension(200,300));
        JScrollPane sp = new JScrollPane(jp);
        sp.setPreferredSize(new Dimension(200,200));
        getContentPane().add(sp);
        pack();
      public static void main(String args[]){new Testing().setVisible(true);}
    }

  • How to add scroll bar to JDesktopPane?

    Hi All,
         After download the "InternalFrameDemo.java" from the swing tutorial, I want to add scrollbars to JDesktopPane so that whenever a internal frame moves off the desktop view port, a scrollbar will display. I have tried many ways to implement this but no success.
    Do you know how to add scrollbars to JDesktopPane?
    Thanks
    Anson

    You can't get there from here! Assuming that wou want is to make the desktop scrollable that is.
    The trick to make somthing scrollable is to make JScrollPane CONTAIN the component to be scrolled. If you could ask the desktop to return the component it contains, you might have a chance but no luck, the desktop pane actually inherits a layered pane which is most likey is what you would like JScrollPane to contain.
    Now here's another angle to this story... the desktop is complex enough without scrollbars, why would you want to complicate things by adding a scroll bar anyway? Say one of its window is maximized and has a scrollbar of its own AND the desktop has one.... that makes TWO scroll bars side by side. Talk about confusing.
    I believe the desktop was designed so scroll bars can't be added for a very good reason: good UI practises.

  • How to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area

    how to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area
    ananya

    Hey Ananya,
    I believe what you want to do is possible, but it will not be
    easy.  If you want to add a scroll bar that will scroll the graph
    back and forth but keep the axis set, you would want to add a
    horizontal or vertical scrollbar.  Then you would create an event
    handler for the scroll event.  You would have to manually plot
    different data within this scroll event.  Unfortunately, there is
    not really a built in way to do this with the Measurement Studio plot
    control.
    Thanks,
    Pat P.
    Software Engineer
    National Instruments

  • How to add scroll function in  the applet launched by  Java Web Start?

    I have Java Web Start installed in order for the applet to launch.The applet size: width:700 height:1000
    my compuer resolution:800*600
    the applet launched by Java Web Start can only be seen partly,especially height.How to add scroll function in the applet launched by Java Web Start?
    Thanks for help.
    email:[email protected]

    You can very easily add a JScrollPane manually between the Applet and your content. Perhaps it would be beter if javaws did this automatically. In the browser, an applet can be any size. In Java Web Start an applet is directly contained within a JFrame, so it cannot be smaller than the minimum size of a JFrame, or Larger than the max.

  • Any Possible to add Scroll Bars to SysLink Control in MFC

    If there is any chance to add Scroll Bars to SysLink Control in VC++ MFC Application?

    Hi J Sathish Kumar,
    CLinkCtrl class derive form CWnd class, so it can create with the common windows style WS_VSCROLL. So we could create a syslink control with this style.
    https://msdn.microsoft.com/en-us/library/xw25kwch.aspx
    PTCHAR url =
    _T("Link 2) ")
    _T("<A HREF=\"http://msdn2.microsoft.com/en-us/visualc/default.aspx\">")
    _T("Microsoft VC++ Home")
    _T("</A>");
    //m_mylink is a object of a class derive from CLinkCtrl class.
    m_mylink.Create(url,
    (WS_VISIBLE | WS_TABSTOP | WS_CHILD | WS_BORDER|WS_VSCROLL),
    CRect(
    100, 100,
    400, 240),
    this,
    IDC_SYSLINK2);
    You need to create a class derive form CLinkCtrl class. And you will find the scrollbar cannnot scroll. Here is a workaround:
    LRESULT CMyLinkCtrl::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
    // TODO: Add your specialized code here and/or call the base class
    if (message == WM_NCHITTEST || message == WM_NCLBUTTONDOWN || message == WM_NCLBUTTONDBLCLK)
    return ::DefWindowProc(m_hWnd, message, wParam, lParam);
    return CLinkCtrl::WindowProc(message, wParam, lParam);
    Set the scrollbar information.
    int CMyLinkCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct)
    if (CLinkCtrl::OnCreate(lpCreateStruct) == -1)
    return -1;
    // TODO: Add your specialized creation code here
    SCROLLINFO vinfo;
    vinfo.cbSize = sizeof(vinfo);
    vinfo.fMask = SIF_ALL;
    vinfo.nPage = 30
    vinfo.nMax = 140
    vinfo.nMin=0;
    vinfo.nTrackPos = 0;
    SetScrollInfo(SB_VERT, &vinfo);//
    return 0;
    Handle the WM_VSCROLL message event in your new class CMyLinkCtrl.
    void CMyLinkCtrl::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)
    // TODO: Add your message handler code here and/or call default
    SCROLLINFO scrollinfo;
    GetScrollInfo(SB_VERT, &scrollinfo, SIF_ALL);
    switch (nSBCode) {
    case SB_BOTTOM:
    ScrollWindow(0, (scrollinfo.nPos - scrollinfo.nMax) * 10); scrollinfo.nPos = scrollinfo.nMax;
    SetScrollInfo(SB_VERT, &scrollinfo, SIF_ALL); break;
    case SB_TOP: ScrollWindow(0, (scrollinfo.nPos - scrollinfo.nMin) * 10); scrollinfo.nPos = scrollinfo.nMin;
    SetScrollInfo(SB_VERT, &scrollinfo, SIF_ALL);
    break;
    case SB_LINEUP:
    scrollinfo.nPos -= 1;
    if (scrollinfo.nPos<scrollinfo.nMin) {
    scrollinfo.nPos = scrollinfo.nMin;
    break;
    SetScrollInfo(SB_VERT, &scrollinfo, SIF_ALL);
    ScrollWindow(0, 10);
    break;
    case SB_LINEDOWN:
    scrollinfo.nPos += 1;
    if (scrollinfo.nPos>scrollinfo.nMax) {
    scrollinfo.nPos = scrollinfo.nMax; break;
    SetScrollInfo(SB_VERT, &scrollinfo, SIF_ALL); ScrollWindow(0, -10);
    break;
    case SB_PAGEUP:
    scrollinfo.nPos -= 5;
    if (scrollinfo.nPos<scrollinfo.nMin) {
    scrollinfo.nPos = scrollinfo.nMin;
    break;
    SetScrollInfo(SB_VERT, &scrollinfo, SIF_ALL); ScrollWindow(0, 10 * 5);
    break;
    case SB_PAGEDOWN:
    scrollinfo.nPos += 5;
    if (scrollinfo.nPos>scrollinfo.nMax) {
    scrollinfo.nPos = scrollinfo.nMax;
    break;
    SetScrollInfo(SB_VERT, &scrollinfo, SIF_ALL); ScrollWindow(0, -10 * 5);
    break;
    case SB_ENDSCROLL:
    break;
    case SB_THUMBPOSITION:
    // ScrollWindow(0,(scrollinfo.nPos-nPos)*10); // scrollinfo.nPos = nPos;
    // SetScrollInfo(SB_VERT,&scrollinfo,SIF_ALL);
    break;
    case SB_THUMBTRACK:
    ScrollWindow(0, (scrollinfo.nPos - nPos) * 10);
    scrollinfo.nPos = nPos;
    SetScrollInfo(SB_VERT, &scrollinfo, SIF_ALL);
    break;
    CLinkCtrl::OnVScroll(nSBCode, nPos, pScrollBar);
    Above code is just for test and help you understand how to add the scrollbar, you could make it more suitable for your situation. Hope this helps some. Example Screenshot:
    Best regards,
    Shu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Hide Scroll Bars in Hierachy Tree?

    Hi!
    How to Hide Scroll Bars in Hierachy Tree?
    Thanks!

    when I populate the Tree Item with populate_tree(). I get a hierarchical tree. when the tree populates, two scroll bars (on it right and bottom) are displayed. Can I hide them?

  • How to handle scroll bar in table control in bdc

    hi friends,
       how to handle scroll bar coding in table control in bdc
    Thanks & Regards,
    Srinadh D

    hi,
    check the sites :
    table control scrolling:
    Scrolling in table control
    Re: scrolling in table control
    Table control - Vertical scrolling problem
    table control scrolling problem

  • Add scroll bars to TextArea - how?

    I have an application which reads user input to a text file and then on click of JButDisplay reads the contents of the file to a TextArea.
    Problem is I can't seem to get scroll bars onto the TextArea, I tried using JScrollPane,
    but had no luck (I'm using gridBagLayout)
    Could someone please advise me how to add scrollbars to this component?
    TADisplay2 = new JTextArea(10,20);     
                   c.ipadx = 12;
                   c.ipady = 12;
                        c.gridx = 2;
                        c.gridy=18;
                        c.gridwidth = 2;   //2 columns wide
                        c.gridheight = 4;
                             gridbag.setConstraints(TADisplay2, c);
                             contentPane.add(TADisplay2);

    1) Create scrollPanel
    2) Make it fill your content pane (or whatever area you wish to cover)
    3) Add your textArea to the scrollpanel

  • How to hide scroll bar

    Hi everyone,
    when i display iviews on the page it should not show me the scroll bar.
    how to hide the scroll bar in iview.

    Hi Sonal,
    You can try this, create a JSPDynpage to display your Iviews as Iframes ( disable the scrolling mode in Iframes), in the imgsrc attribute of Iframe give the URL path of ur Iviews to be displayed.(if two iviews put it as two iframes)
    Regarding the gap between Iframes or design of the JSP page you can handle it thro Htmlb or even html tags.Upload the Par in the portal, create a new iview out of it (it will not have scrolling mode and your design can be established) Now add this Iview to a page.
    Hope it helps.
    Regards,
    Vivekanandan

  • Scroll bar within e-mails

    Dear all,
    I'm working with e-mail activities in SAP CRM 7.1.3. Can anybody help with the problem described below?
    Within e-mail activity screen, the section related to body has a certain height and in case a long e-mail is written, a scroll bar is used for readying the e-mail content.
    Let's assume we are reading the all e-mail, scrolling down the bar, and then we decide to update a business partner in the activity header, based on info described in the body (e.g. in the signature). By standard, as soon as we click on F4 help for field contact person in the header (i.e. to trigger the popup for partner search), the system automatically resets the scrollbar in the body to the top, therefore we have no longer visibility on the bottom part of the e-mail (also considering the fact that until the popup is open, we can't scroll down anymore).
    I'd like to adjust the code in order to prevent such automatic scrolling up of the bar, but I've not been able to identify the point of intervention, yet.
    Does anyboby have experience with this?
    I'll reward points in case you can help!
    Thanks and Regards,
    Andrea Ricci

    Go to System Preferences > General and choose to always show it:

  • How to remove scroll bar  in WEBI reports?

    Hi , i have below issue,
    We need to remove scroll bars from the WEBI reports. We have observed that even if we have only one column in the WEBI report, scroll bar still appears. Is this asomething which we can influence at the server level?
    Anybody please help me on this.
    Sri

    Hi Panan,
    thank you for your reply, I want to implement the same login for all WEBI reports, how can we do in server level...or is there any way to do this...
    Sri

Maybe you are looking for

  • Error while calling a webservice on ECC 5.0 box

    Hi    I have a webservice exposed on a ECC5.0 - the webservice is available for runtime. But when I call it with a single input parameter - from a test SOAP test - I get the following error as the SOAP response What could this be/mean ? Please help.

  • Why can´t i connect to Windows servers after installing Lion?

    Why can´t i connect to Windows servers after installing Lion?

  • InDesign CS 5 Textfeld-"Problem"

    Hallo liebe Community, ich sitze hier grade an einem Projekt (bin noch InDesign-Frischling;)) kam aber bis gerade eben sehr gut zurecht. Leider habe ich gerade wild rumgeklickt oder eine komische Tastenkomination gedrückt- auf jeden Fall sind die Tex

  • Syncing 20G clickwheel problem

    Hi my wifes 20G click wheel will be recognized by windows and itunes 7, but no songs or library show up! she can't add songs or manage the ones on the ipod...tried the workaround by changing drive letter in windows without success. can't restore as i

  • Mavericks slowed down my MacBook Pro 13 inch (Mid 2010)

    I did a clean install of 10.6.3 (which came with my MacBook Pro).  Then upgraded to 10.6.8 to be able to download Mavericks from the App store.  Installed Mavericks and everything (boot-up, application lauch, opening folders, etc.) has been dragging