If you are sure that you are realy not interested in path=xxx, may be
it worth if you create your own WebRequest/WebResponse (see
WebRequestCrawlerSaver for an example what can be done)

Juergen

On 11/8/05, pepone pepone <[EMAIL PROTECTED]> wrote:
> In my current aplication all links are bookmarkables or redirects to a
> bookmarkable pagte and i only want this for the SingInForm user that
> are not signedin can only access tow forms RegisterForm and SignIn
> form the register form redirect allways to a page that show the result
> of regitration or error in registration if any
>
> path=x is clean but if a user is read and article in this page with a
> bookmarkable url sigin for be able tos post a coment then it is in a
> url that it can bookmarkat and this can be confused for user.
>
> for example you are reading and article at
>
> http://domain.com/app?bookmarakblePage=ArticleView&nodePath=/wicket/intro
>
> you sing in to post a coment and your url is now
>
> http://domain.com/app?path=x
>
> the user make a bookmark to remenber this article later
>
> ops this bookmark is broken
>
> how can i prevent user for not make bookmarks when a url is no bookmarkable
> i think that i can´t
>
> this is the problem that i see for the rest path=x is clean for me
>
> On 11/7/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > 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
> > >
> >
> >
>
>
> -------------------------------------------------------
> 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