1 Reply Latest reply on Feb 11, 2008 7:48 AM by alex#richfaces1970

    How to add scrol bar in rich faces modelpanel

    engashish

      Hi,
      I am using rich faces model panel and my model panel has more content then it maximum page size so I want it with scrollable bar though i can see complete content of model panel by scrooling it.

      Please help on it.

      Thanks & Regards,
      Ashish

        • 1. Re: How to add scrol bar in rich faces modelpanel
          alex#richfaces1970

          Hi,
          propably the simpliest way is the most efficient;
          surround the part of your modal-panel-content you want to scroll with a div-tag (preferably with a Tomahawk <t:div> Tag) and then give the div-tag some ease style-settings e.g.:

          .scrollablePanel {
          overflow-y:scroll;
           overflow-x:hidden;
           height:555px;
           background-color: #bdbcb1;
          }


          the div tag only has to point at the stylesheet:
          <t:div styleClass="scrollablePanel" >
          ... your content
          </t:div>


          or just
          <div class="scrollabelPanel">



          Bye Alex