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().getVariableResolver().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/

Reply via email to