2 Replies Latest reply on Dec 19, 2007 10:48 AM by jucobb2

    Scollable panel bar inside modal panel

      I have a modal panel and inside that panel I have a nested panel bar. That panel bar will have around 4 panel bar items. The problem is that the panel bar items might be large in the number of components that it has. Is there any way to make a panelbaritem scrollable? Or is there another component I can use in the modal panel that will allow me to use scrolling?

        • 1. Re: Scollable panel bar inside modal panel
          ilya_shaikovsky

           

          <rich:panelBar label="Capitals" height="100">
           <rich:panelBarItem label="123">
           <h:outputText value="test"></h:outputText>
           <h:graphicImage value="/pages/oregon_large.gif"></h:graphicImage>
           </rich:panelBarItem>
           <rich:panelBarItem label="123">
           <h:outputText value="test"></h:outputText>
           <h:graphicImage value="/pages/oregon_large.gif"></h:graphicImage>
           </rich:panelBarItem>
           </rich:panelBar>


          Using this sample with GA libs - I'm able to see that the items - use scrolls. And height of the whole panelBar is 100px ;)

          • 2. Re: Scollable panel bar inside modal panel

            Thanks, I was setting the height variable on the wrong component.