JSF TAB PROBLEM
Hi,
I am using Tabbed panes in JSF. I want to display the second tab and not the first tab when the page refreshes. How can I do that?
Thanks.
Hi,
I am using Tabbed panes in JSF. I want to display the second tab and not the first tab when the page refreshes. How can I do that?
Thanks.
Which component are you talking about?
this is the component i am using
<rich:tabPanel switchType="ajax" >
no reply
Sorry, I don't know that component.
But I can tell you that the tab state is generally maintained using Javascript. Run FireFox, install the Venkman Javascript Debugger extension and debug it to see when and where the state is saved. Then add a small script to change this state onload.
thanks i will try it now :)
I should try asking that at the RichFaces forum first, before wasting time with hacking:
http://jboss.com/index.html?module=bb&op=viewforum&f=261
Maybe they knows a ready-to use solution or so :)
if you have the same problem
have a look at
http://jboss.com/index.html?module=bb&op=viewtopic&p=4068128#4068128