Very sorry. My IDE was being weird. It is there in the RequestCycle.. Oops..
John RDF wrote: > > Thanks for your quick reply Johan. > > I have worked out to avoid the escaping prob.. > > Now just how do I get the original request to find out the host I am > running on? As this has to run in multiple environments I do not want to > hard code the host.. I was expecting to be able to get the original > request through the RequestCycle or similar but can't find it.. > > John > > > Johan Compagner wrote: >> >> We never generate hosts in the url >> in wicket 1.3 we even never generate a absolute url (all urls are >> relative) >> >> and you do have the & it is just escaped that should work fine i believe >> >> johan >> >> >> On 4/17/07, John RDF <[EMAIL PROTECTED]> wrote: >>> >>> >>> In my app I need to leave wicket temporarily to detour to another site >>> and >>> then come back to a page in my wicket app. I used the following code to >>> generate the return URL but it seems to generate an incomplete URL with >>> some >>> illegal characters in it also.. >>> >>> String returnURL = urlFor(getPageMap(), Score.class, new >>> PageParameters("applicantCheckId=" + applicantCheckId)).toString(); >>> >>> Produces.. >>> >>> /quickstart/app?wicket:bookmarkablePage=: >>> com.rdf.datacol.tenantchecker.presentation.performcheck.Score& >>> ;applicantCheckId=21 >>> >>> Which has no host and amp; in it which prevents the link from working. >>> >>> How should I be generating a complete and valid link back to a wicket >>> page? >>> -- >>> View this message in context: >>> http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10032278 >>> Sent from the Wicket - User mailing list archive at Nabble.com. >>> >>> >>> ------------------------------------------------------------------------- >>> 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 >> >> > > -- View this message in context: http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10033269 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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