Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Marc-Andre Houle
Is anything new about this? I also want to know how it is about this issue : https://issues.apache.org/jira/browse/WICKET-206 Thanks. Marc On 1/22/07, Johan Compagner [EMAIL PROTECTED] wrote: yes i see it, will look it at asap On 1/22/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: I think

Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Marc-Andre Houle
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) {

Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Johan Compagner
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 :

Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Marc-Andre Houle
pp refer to page parameters that I get in the pop up Here is the context : The bookmarkable page link will be open in the window that open the pop up. This code is in the pop-up. The problem is when I have done that : bpl.setPageMap (PageMap.forName (parentPageMap)); It will create a new

Re: [Wicket-user] Tracking session expire exception

2007-01-24 Thread Johan Compagner
Why not do it a bit more reliable? for example when you go back use a piece of javascript: window.opener.location.href = bookmarkable url or get the window name from the window.opener.name? (in the popup or when you open the popup) and use that as the target. The only problem that could be is

Re: [Wicket-user] Tracking session expire exception

2007-01-22 Thread Marc-Andre Houle
I think the mail didn't pass through sf.net. So, I try again. Marc On 1/16/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Here is the example. Open two tabs with the same page, in each one of them, click on page 2, and see the page map being the same :) Marc P.S. : I included only the

Re: [Wicket-user] Tracking session expire exception

2007-01-22 Thread Johan Compagner
yes i see it, will look it at asap On 1/22/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: I think the mail didn't pass through sf.net. So, I try again. Marc On 1/16/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Here is the example. Open two tabs with the same page, in each one of them,

Re: [Wicket-user] Tracking session expire exception

2007-01-16 Thread Nino Wael
@lists.sourceforge.net Subject: Re: [Wicket-user] Tracking session expire exception Let's make a demo of what I presently don't understand : In a quickstart, have a page that only do this : System.out.println (index Page map is : + getPageMap ().getName ()); add(new Link(page2

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Nino Wael
Hmm, we had to track something similar. Could you describe what happens? Our thing was something that was caused by clearing the pagemap and the same time referencing to the cleared page. Also we have a problem where we loose our session's id. Regards Nino

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
While asking this, I found maybe why the page expire, but not sure. It is due to the use of pagemap to communicate from a pop-up to the current window. I'll try to explain what is happening : I log in my application, I click the link to open the pop-up. When clicking on the link, I'm tring to

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
Damn It, I forgot to past thing in the post Before loading the pop up : 2007-01-15 10:36:51,586 DEBUG ( http-0.0.0.0-18080-3) [Session ] updateSession(): Attaching session to PageMap [PageMap name=popuppagemap, access=[]] 2007-01-15 10:36:51,586 DEBUG (

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
I think I found something. first of all : Pop-up communication with pagemap is a nightmare. I think the problem was that it loaded using a specific pagemap in the correct window but when trying to use ajaxLink, it didn't use the correct page map and then failed to find the associated session.

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Nick Heudecker
You can subclass HttpSessionStore and provide your own implementation of onUnbind(String). Then, use your new HttpSessionStore from your application subclass: public ISessionStore newSessionStore() { return new MySessionStore(); } On 1/15/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: I

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
Let's make a demo of what I presently don't understand : In a quickstart, have a page that only do this : System.out.println (index Page map is : + getPageMap ().getName ()); add(new Link(page2) { public void onClick () {