ModalWindow redirect after closing

2008-05-25 Thread Cristi Manole
Hello, I've searched the archives and it seams I'm looking exactly for this : https://issues.apache.org/jira/browse/WICKET-1368 Is there any workaround I could try? Tks, Cristi Manole

Re: ModalWindow redirect after closing

2008-05-25 Thread James Carman
Have you tried using an on close handler to the window to do the redirect? On Sun, May 25, 2008 at 5:32 AM, Cristi Manole [EMAIL PROTECTED] wrote: Hello, I've searched the archives and it seams I'm looking exactly for this : https://issues.apache.org/jira/browse/WICKET-1368 Is there any

Re: ModalWindow redirect after closing

2008-05-25 Thread Cristi Manole
yup. didn't work for me. did it work for you? On Sun, May 25, 2008 at 4:10 PM, James Carman [EMAIL PROTECTED] wrote: Have you tried using an on close handler to the window to do the redirect? On Sun, May 25, 2008 at 5:32 AM, Cristi Manole [EMAIL PROTECTED] wrote: Hello, I've searched

Re: ModalWindow redirect after closing

2008-05-25 Thread James Carman
I got it to work for me. In my ajax button on my popup window contents, I close the window. Then, in the on window close handler, I do the redirect. On Sun, May 25, 2008 at 10:19 AM, Cristi Manole [EMAIL PROTECTED] wrote: I think the problem is you can't go out of the ajax target with the

Re: ModalWindow redirect after closing

2008-05-25 Thread Cristi Manole
i'll try that. tks! Cristi Manole On Sun, May 25, 2008 at 5:22 PM, James Carman [EMAIL PROTECTED] wrote: I got it to work for me. In my ajax button on my popup window contents, I close the window. Then, in the on window close handler, I do the redirect. On Sun, May 25, 2008 at 10:19 AM,

Re: ModalWindow redirect after closing

2008-05-25 Thread Igor Vaynberg
instead of redirect you can just target.appendjavascript(window.location='+urlfor(mypage.class/mypage)+';); -igor On Sun, May 25, 2008 at 6:10 AM, James Carman [EMAIL PROTECTED] wrote: Have you tried using an on close handler to the window to do the redirect? On Sun, May 25, 2008 at 5:32 AM,

Re: ModalWindow redirect after closing

2008-05-25 Thread Cristi Manole
nope, that does not work for sure. that's what i've been trying. On Sun, May 25, 2008 at 7:34 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: instead of redirect you can just target.appendjavascript(window.location='+urlfor(mypage.class/mypage)+';); -igor On Sun, May 25, 2008 at 6:10 AM,

Re: ModalWindow redirect after closing

2008-05-25 Thread Igor Vaynberg
what does it do? -igor On Sun, May 25, 2008 at 9:58 AM, Cristi Manole [EMAIL PROTECTED] wrote: nope, that does not work for sure. that's what i've been trying. On Sun, May 25, 2008 at 7:34 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: instead of redirect you can just

Re: ModalWindow redirect after closing

2008-05-25 Thread Cristi Manole
it asks the user for the confirmation (like pressing F5 when the modal is being displayed) maybe i was not certain, it iworks/i but not straight fw. On Sun, May 25, 2008 at 8:01 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: what does it do? -igor On Sun, May 25, 2008 at 9:58 AM, Cristi Manole

Re: ModalWindow redirect after closing

2008-05-25 Thread Cristi Manole
where certain = clear On Sun, May 25, 2008 at 8:19 PM, Cristi Manole [EMAIL PROTECTED] wrote: it asks the user for the confirmation (like pressing F5 when the modal is being displayed) maybe i was not certain, it iworks/i but not straight fw. On Sun, May 25, 2008 at 8:01 PM, Igor Vaynberg

Re: ModalWindow redirect after closing

2008-05-25 Thread Igor Vaynberg
have you tried window.top.location instead of window.location? never really tried to do this myself, just throwing out guesses -igor On Sun, May 25, 2008 at 10:19 AM, Cristi Manole [EMAIL PROTECTED] wrote: where certain = clear On Sun, May 25, 2008 at 8:19 PM, Cristi Manole [EMAIL PROTECTED]

Re: ModalWindow redirect after closing

2008-05-25 Thread Cristi Manole
no, but since James Carman said his solution works, i'm fine with that and I'll use that. + i'm certain anything related to adding something the target won't work. On Sun, May 25, 2008 at 8:31 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: have you tried window.top.location instead of