final void redirectToInterceptPage(final Page page)
{
interceptContinuationURL = page.getResponse().encodeURL(page.getRequest().getURL());
But i think this url is already changed because of a client side redirect.
(changed to: path=0 or something like that)
But that shouldn't matter because it will redirect to the same instance as it was on is that not the case or not the desired behaviour?
johan
On 11/7/05, pepone pepone <[EMAIL PROTECTED]> wrote:
I read singin2 to example but i think that this don´t solve the
problem that i expresed
Sigin2 use
redirectToInterceptPage(SingIn2.class);
and later calls getPage().continueToOriginal();
but in my case i haven´t a separte page for sigin my sigin panel is
allways present in the border
if a user is at this url
http://domain.com/app?bookmarkablePage=FileView&nodePath=/test-001.html
when i submit form continue in same page but url is not bookmarkable
what i want is keep the previous bookmarkable Url
continueToOriginal not make sense here because i haven´t a separted
singin page that i redirect to using void redirectToInterceptPage(Page
page)
On 11/7/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> Please see the signin2 example.
>
> Juergen
>
> On 11/7/05, pepone pepone <[EMAIL PROTECTED]> wrote:
> > Hello i have a form in my border to do login/logout
> >
> > I wan to redirect user to same url before login the url that i use
> > are allways bookmarkable and i wan to mantain the url whith the same
> > parameters
> >
> > i thinking in same thing like
> >
> > void onSubmit()
> > {
> > //Form logic goes here
> >
> > //before is procesed redirect user to the previous url
> > setResponsePage(getPage().class,getPreviousRequest().getParams());
> > }
> > any ideas?
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server. Download
> > it for free - -and be entered to win a 42" plasma tv or your very own
> > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
