3 Replies Latest reply on Jan 30, 2009 8:38 AM by cocolino

    panelMenuItem - how to set active???

    cocolino

      Hi. Demo shows panelMenu with items, that when clicked become marked with italic font.

      <rich:panelMenuItem label="Item 1.1" action="#{panelMenu.updateCurrent}">
       <f:param name="current" value="Item 1.1"/>
       </rich:panelMenuItem>


      param current deals with different style for active item. On this page everything works fine, becouse it is not reloaded.

      On my page, after clicking on item part of the page is reloaded and item. When reloading font of item is italic, but when process is finished it return to normal style. How can I specify if item is current or not in this case?