0 Replies Latest reply on Nov 7, 2008 3:54 AM by Martin Schrodt

    rich:tabPanel, a4j:region and remembering the active tab...

    Martin Schrodt Newbie

      Hi,

      I just want to make known a little glitch, that I discovered today. I have a tabPanel with switchType="client", and in the tabs I have different regions, and a submit of one of them reRenders the tabPanel.

      The tabPanel has a mechanism to save the active tab in a hidden field, but because this hidden field is outside of the submitted region, it doesn't get processed on the server side, which leads to the tabPanel being unable to restore it's active tab correctly.

      I worked around this using jQuery and multiple hidden fields (one for each region), but it would be nice if there were a better approach to this.

      Did I miss a better workaround?