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 > > [email protected] > > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
