Hi Ali Thanks for the note. Actually I am doing the equivalent of your code, however, it is getting the value back from the selectedIndex when the user clicks on a non-selected tab that I am having problems with. It seems that the tabbedPane is not setting the setSelectedIndex(Integer index) accessor on the backing bean. my JSP looks like serverSideTabSwitch="true"
selectedIndex="#{managedBean.selectedTab}" The getter works fine but the setter is never called. Perhaps I should dig through the code to see if it is indeed being activated when the tab is activated. Julian _____ From: robinhoo [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 3:24 PM To: MyFaces Discussion Subject: Re: TabbedPane selectedIndex not working. Hi Julian, you may fix this problem by doing the following: you will use tappedPane with the property selectedIndex <t:panelTabbedPane selectedIndex="#{sessionBean.selectedTabIndex}"> and in your Bean u will use this code ((SessionBean)FacesContext.getCurrentInstance().getApplication().getVariable Resolver().resolveVariable(FacesContext.getCurrentInstance(),"sessionBean")) .setselectedTabIndex(1); 1 is an example of the tap # you wish to set. where SessionBean is a mangedBean that will keep the value of the last setting TapedIndex and hence when it will render this page after doing your action it will set the tapindex as you set. Best Regards. Ali Abdel-Aziz On 4/26/06, Julian Ray <[EMAIL PROTECTED]> wrote: I'm having problems trying to get the tabbedPane to select the selectedIndex from a backing bean using a ValueBinding I have just downloaded and compliled the latest from the svn repository and am using Version Tomahawk 1.1.3, Myfaces 1.1.4 on Tomcat 5.15 Has anyone experience with this? Thanks -- Ali Abd El Aziz Ali http://aabdelaziz.blogspot.com/