Hi

I've just checked : in fact it's a relative url in the html page but,
when looking at the link with Firefox, the link is shown as the
absolute one. So you were right.

I update the wiki with the info :)

++
ZedroS

On 4/18/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> What do you mean with a full link? including host and port? this is not the
> case.
>
> bookmarkable page links also generate ../.. so there is not a big difference
> there
> just look at :
> http://wicketstuff.org/wicket13/niceurl/the/homepage/path
>
> the ../ doesn't also matter to much because this url just works fine:
>
>
> http://wicketstuff.org/wicket13/niceurl/the/homepage/../../a/nice/path/to/the/first/page
>
> its only a bit funny..
>
>
> johan
>
>
> On 4/17/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote:
> > Good to know that !
> >
> > But isn't it surprising that a BookmarkablePageLink, when rendered in
> > the html page, is a full link and not a relative one ?
> >
> > Furthermore, the relative link is given this way : ../URL. Is it
> > possible to have it without the .. ? Otherwise, as I see it for now,
> > I'll have to split the stuff or substring the path to get the full
> > url...
> >
> > BTW, when having your answer, I'll update the wiki there :
> >
> http://cwiki.apache.org/WICKET/getting-a-url-for-display.html
> >
> > If never you feel like doing it yourself, it would be a pleasure to read
> you !
> >
> > Best regards
> > ZedroS
> >
> > On 4/17/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > > No that is not possible in wicket. We don;'t generate full paths.
> > > You have to do that yourself, wicket can't do that because we can be
> behind
> > > proxies
> > > or being virtual hosted.
> > >
> > > So you must configure somewhere what your hostname:port:/contextpath is
> > > and prepend that.
> > >
> > >
> > > johan
> > >
> > >
> > >
> > > On 4/17/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi all
> > > >
> > > > I've been struggling for a few hours to do a redirection after a
> logout.
> > > >
> > > > I've looked at many places, including this one :
> > > >
> > >
> http://www.nabble.com/how-to-display-login-page-after-logout--tf2135329.html#a5892867
> > > >
> > > > However, nothing works.
> > > >
> > > > Indeed, my line "urlFor(IntroPage.class, null).toString() ;" returns
> > > > "../public/IntroPage" and not the full path
> > > > " http://localhost:8080/test/app/public/IntroPage";.
> > > >
> > > > I didn't find a way to grab the full path, but clearly I'm missing
> > > > something. Could you please show me what.
> > > >
> > > > Thanks in advance
> > > > ZedroS
> > > >
> > > >
> > >
> -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by DB2 Express
> > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > control of your XML. No limits. Just data. Click to get it now.
> > > > http://sourceforge.net/powerbar/db2/
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to