| Author |
Want to stay on the same tab
|
merajzia zia
Greenhorn
Joined: Oct 29, 2009
Posts: 1
|
|
Hi,
I am using 'rich:tabPanel' where i've defined few tabs 1,2,3. My problem is that when i am on say tab 2 or 3 and i do some action like submitting the form after the processing i am redirected to the 1st tab. If there is some error then also i'm redirected to the first tab. I'm returning empty string("") so that i remain on the same tab.
How to solve it?
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14480
|
|
|
Unless you tell it not to, it shouldn't be going back to the first tab, although I believe you need to hold the active tab index number in a session-scope property. Check the RichFaces manual.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: Want to stay on the same tab
|
|
|