then you have to make sure that you always redirect to a bookmarkable url at all places!
(form submits, link clicks)
A form submit will always be a path=x thing
So if that form submit is the page before youre redirectToIntercept
(so a user submits a form but should login first)
Then it will be hard to know the "bookmarkable url" because there is none a form always submits to path=x

Personally i find the path=x very very clean. I would use bookmarkable urls only for outside entry points inside my application.

johan


On 11/7/05, pepone pepone <[EMAIL PROTECTED]> wrote:
What i trying to do is maintain the clean url that i have before form submit
i don´t want that my app has not bookmarkable urls wiht path o version in it

On 11/7/05, pepone pepone < [EMAIL PROTECTED]> wrote:
> what i don´t understand is when i must call redirectToInterceptPage
> beacause my sigin panel is allways in the border and documentation
> says that continueToOriginal only works with a previous call to
> redirectToInterceptPage
>
>
>
> On 11/7/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > We are redirecting to the real url:
> >
> >      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
> > >
> >
> >
>


-------------------------------------------------------
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

Reply via email to