Hello,
I have in my Session a field called pageId.
I have Link that in the onClick I set in the session the page id and then go
to a new page using setResponsePage.
@Override
public void onClick() {
PortalSession session = ((SecuredBasePage)
getPage()).getEurekifySession();
session.setCurrentPageId(pageId);
setResponsePage(pageClass, pageParameters);
}
In my base page's constructor I do this:
...
String pageId = getEurekifySession().getCurrentPageId();
LinksHeaderPanel linksPanel = new LinksHeaderPanel("linksPanel",
pageId);
...
everything goes well until I press the back button.
When I press BACK button, naturally the Session still has the last pageId,
because it is not set (to the old page id).
Is there a way to fix this problem?
*I cannot use PageParameters to keep the pageId.
Thanks.
--
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74