Want to stay on the same tab

View: New views
1 Messages — Rating Filter:   Alert me  

Want to stay on the same tab

by meraj_zia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?