Mike,

Their is a selectedIndex attribute on <t:panelTabbedPane>.  I would contend 
that the selectIndex is not getting
set/restored when serverSiteTabSwitch="false". This show up when the validation 
phase fails.

Or said another way:
  MyFaces does not know which tab the clicked button was on and it always 
display the tab
  identified by selectIndex when serverSiteTabSwitch="false" when their is a 
validation failure.


May I enter this as a bug, enhancement, or wish?

Paul Spencer

Mike Kienenberger wrote:
On 7/13/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
1) Why is the behavior different between client and sever side switching?

Because the server-side tab switching renders only the existing tab in
the generated html.
Client-side tab switching renders all of the tabs but only makes one
visible in the browser.


2) The "application" is just the included below surrounded by the minimal set of html, jsp, and jsf tags. Their are no backing beans involved. In short
   this is a mock-up.

It's not so much your application code.   It's your application
behavior (ie, when I submit a form on tab X, I want tab X to be
visible on the response if there's an error).

3) How would I set the "panel tab index"?

This is the part I don't have enough experience with to help you with.
 I vaguely recall that here's a selectedIndex attribute for tabbed
panes.


Reply via email to