Forums Register Login

Want to stay on the same tab

+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
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.
If tomatoes are a fruit, then ketchup must be a jam. Taste this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1045 times.
Similar Threads
How to control browser launch functionality from java.
JTable focus problem
unique session for every tabs of browser window
Generate pdf file and display in a browser
Issue with the session object
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:32:00.