1 Reply Latest reply on Jan 4, 2011 4:51 AM by Ilya Shaikovsky

    Limiting number of tabs to be opened in a tab panel..

    swetha sundar Newbie

      Hi,


           My Richfaces application has a page that has a PanelMenu, with a list of items. On clicking each of these items, a new tab opens with the name equal to the item name. When i click the item for the first time, a new tab is created. For, the second time if i click the same button, i get


      exception

      javax.servlet.ServletException: tabs with the same name not allowed

      root cause

      javax.faces.FacesException: tabs with the same name not allowed.



      Instead, I want the corresponding tab created earlier for the item to be focussed. How do I do that???

      Also, I would like to fix the number of tabs to opened in a tab panel. Can anyone help me with this????