7 Replies Latest reply on Mar 14, 2007 2:37 AM by hispeedsurfer

    active rich:panelBarItem

    hispeedsurfer

      Hello,

      is it possible to give active panelBarItems a special background-image/-color?


      Thanks
      Andi

        • 1. Re: active rich:panelBarItem
          nbelaevski

          You can set panelBarItem's visual style by setting contentClass attribute. As only one of all items is active (eg. visible) IMHO there is no need to specially define active/inactive classes.

          • 2. Re: active rich:panelBarItem
            hispeedsurfer

            Hi Nick,

            thank you for response.

            <rich:panelBar height="300" id="panelbar" width="160">
             <rich:panelBarItem id="sf" label="ItemOne" headerClass="activeBarItem">New ItemOne</rich:panelBarItem>
             <rich:panelBarItem id="adb" label="ItemTwo">New ItemTwo</rich:panelBarItem>
             <rich:panelBarItem id="bnz" label="ItemThree">New ItemThree</rich:panelBarItem>
             </rich:panelBar>


            If I worded wrong, i.e. if ItemTwo is expanded the header of ItemTwo should have an other look as ItemOne or ItemThree. All subitems should remain as they are.

            Thanks
            Andi

            • 3. Re: active rich:panelBarItem
              nbelaevski

              Andi,

              looks like we don't have such feature for now :(. We'll add it to our TODO list and implement it ASAP. We'll notify you when it'll be ready.

              • 4. Re: active rich:panelBarItem
                d.bulahov

                add new class in css rich-panelbar-header-act.
                add new attribute "headerClassActive" and "headerStyleActive" in panelbar and panelbaritem.
                headerClass work only on unactive panel now. It is necessary to remember.!!!
                Has put in head 12.13.07

                • 5. Re: active rich:panelBarItem
                  hispeedsurfer

                  Hi

                  another problem correspondent panelBarItem is to load a page soon as the header is clicked.

                  <rich:panelBar height="300" id="panelbar" width="160">
                   <rich:panelBarItem id="sf" label="ItemOne" headerClass="activeBarItem">New ItemOne</rich:panelBarItem>
                   <rich:panelBarItem id="adb" label="ItemTwo">New ItemTwo</rich:panelBarItem>
                   <rich:panelBarItem id="bnz" label="ItemThree">New ItemThree</rich:panelBarItem>
                   </rich:panelBar>


                  I want to display contents in a box near the panelBar even the "ItemOne" header is selected but I see no possibility to call an include src, action or something else.

                  Is there anything planned to solve this problem or what can I do?


                  Thanks
                  Andi

                  • 6. Re: active rich:panelBarItem

                     

                    "hispeedsurfer" wrote:


                    I want to display contents in a box near the panelBar even the "ItemOne" header is selected but I see no possibility to call an include src, action or something else.

                    Is there anything planned to solve this problem or what can I do?


                    It still unclear for me what you want to do. Could you explain t in more details

                    • 7. Re: active rich:panelBarItem
                      hispeedsurfer

                      Hi,

                      I have a panel bar with 3 headers in this case: ItemOne -Two -Three.

                      Always I click on one of these headers the submenu expand and I want to display content according the header.

                      For i.e. like the outlook panel bar. -> If the Email header is clicked all emails are displayed as content near the panel bar and the submenu expand.

                      I hope it shold be clear now.


                      Thanks
                      Andi