Forums de discussion

Keep TabView selection state after portlet action

thumbnail
Bernardo Puglia Lima, modifié il y a 11 années.

Keep TabView selection state after portlet action

Junior Member Publications: 41 Date d'inscription: 25/01/12 Publications récentes
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!
thumbnail
Nikhil Nishchal, modifié il y a 11 années.

RE: Keep TabView selection state after portlet action

Regular Member Publications: 176 Date d'inscription: 22/06/12 Publications récentes
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 .