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????
I believe you should manage that in your action. Check if similar tab was opened and just set selectedTab properly instead of trying to create it again.