1 Reply Latest reply on Jan 25, 2008 5:22 AM by Ilya Shaikovsky

    How to create Scrollable Panel in JSF ?

    Saravanan Vijayappan Newbie

      Hello,

      I am looking to create Scrollable Panel in JSF. I am using Myfaces, JSF1.2 and facelets. Which UI component can be used to create Scrollable Panel?

      Thanks,
      Sarav.

        • 1. Re: How to create Scrollable Panel in JSF ?
          Ilya Shaikovsky Master

          you may use next variant:

           <style>
           .rich-panel{
           width:100px;
           }
           .rich-panel-body{
           overflow:auto;
           }
           </style>
           <rich:panel width="50px">
           <h:outputText value="looooong text......."/>
           <h:outputText value="looooong text......."/>
           <h:outputText value="looooong text......."/>
           </rich:panel>
          


          Or if you need redefine the CSS params for concrete panel - use bodyClass and StyleClass panel attributes.