Hello,
I'm trying to store the activePanelId of a Jquery tabs component as a SessionAttribute, so that when the page is loaded, the correct panel is highlighted and the correct tab content is displayed, i.e. the one that was highlighted/displayed when you left the page.
Now, when I leave the page and come back, the correct tab content is displayed, but the highlighted panel is always the one with index 0.(Page)
@SessionAttribute(SessionConstants.SESSION_ACTIVEPANEL)
@Property
int
activePanel;
<body>
<t:jquery.tabs t:tabs="Tab1,Tab2,Tab3,Tab4" t:activePanelId="activePanel" ajax="true">
Regards,
Daniel P.
P.S.: Cross-posting from tapestry users mailing list because I remembered that this place would be more appropriate.
Hi
i think we van notre store java primitives in SessionStorage. Try with Integer.
Manu
--
You received this message because you are subscribed to the Google Groups "tapestry5-jquery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tapestry5-jque...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.