1 Reply Latest reply on Oct 31, 2009 1:43 AM by thomasgo

    selected tab stickiness across page invocations

    evejeba

      I have a set of parent tabs and each parent tab has a set of child tabs. When an user selects a particular parent tab and a child tab, the corresponding page is loaded. What are the different ways to retain selection on the last selected tabs across page invocations.

      I am currently using richTabPanel along with rich:tab for the above functionality.

        • 1. Re: selected tab stickiness across page invocations
          thomasgo

          I'd say you have to store the selectedTab attribute of the parent tab panel and either the active child tab panel only or for all child tab panels in a backing bean.

          Make this bean session scoped and the user should get the tabs selected as he left them across page invocations.