Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Bernardo Puglia Lima
Keep TabView selection state after portlet action
October 26, 2012 12:33 PM
Answer

Bernardo Puglia Lima

Rank: Junior Member

Posts: 36

Join Date: January 25, 2012

Recent Posts

Hello everyone!

I have an Alloy UI TabView with 3 tabs, each one has a configuration form with a save button pointing to a portlet action url, independent from the other 2 tabs. When I hit the save button on any of them the action is executed successfully, requesting the page again. By refreshing, the first tab always gets selected. Is there a way to keep the state of the TabView active tab so I never lose the selection?

Thanks in advance!
Nikhil Nishchal
RE: Keep TabView selection state after portlet action
October 26, 2012 1:20 PM
Answer

Nikhil Nishchal

Rank: Regular Member

Posts: 103

Join Date: June 21, 2012

Recent Posts

Hello Bernardo,
you can request through ajax to stop reloading the page.
or if don't want to use ajax.
then you can use parameter in URL to manage tabID, using those tabID you show them selected emoticon .