On 1/24/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:
Ok, I got news about the first page expired problem. Problems with page
map that I said before and in the JIRA issue are still there, but the page
expire is gone. Here is why :
In the pop up, I created a bookmarkable page link like this :
String parentPageMap = "wicket:default";
if(pp !=
null)
{
parentPageMap = (String)pp.get ("parent_page_map");
}
Class
pageClass = SomePage.class;
BookmarkablePageLink bpl = new BookmarkablePageLink("link", pageClass);
bpl.setPageMap (PageMap.forName (parentPageMap));
bpl.add(new SimpleAttributeModifier("target", parentPageMap));
add(bpl);
The problem with this, it is that it create a new page map. So, because
there is a new pagemap, the session expire when I try to access things from
the session.
i am lost with that last sentence, what do you mean with this? When does
the session expire?
and what is this code:
if(pp !=
null)
{
parentPageMap = (String)pp.get ("parent_page_map");
}
johan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user