Foros de discusión

Keep TabView selection state after portlet action

thumbnail
Bernardo Puglia Lima, modificado hace 11 años.

Keep TabView selection state after portlet action

Junior Member Mensajes: 41 Fecha de incorporación: 25/01/12 Mensajes recientes
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, modificado hace 11 años.

RE: Keep TabView selection state after portlet action

Regular Member Mensajes: 176 Fecha de incorporación: 22/06/12 Mensajes recientes
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 .