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 i
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 p
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 :
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)
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 t
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 t
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 sour
Now, the output look like this :
I access the index page first time :
index Page map is :null
correct.
I access the index page from another tab :
index Page map is :null
index Page map is :wicket-0
correct.
First is rendered in default pagemap.
Then we detect a new window and do a bookmark
icket-user@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
().getN
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 ()
{
setRe
I don't understand how this can help. Can you give me an example?
And BTW, is there somewhere documentation on PageMap. I'm not sure I really
grasp all the concept aroud this. I tough that page map made sure that in
one instance in your application server, you have only one name/session
pair.
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 t
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. (N
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 ( http-0.0.0.0-
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
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
16 matches
Mail list logo