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(),
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
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
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
Well it is there and the java doc says it returns an absolute URL but it
doesn't only the path info. So my quest continues..
Where do I get the original http servlet request so I can find the host etc?
Anyone?
John RDF wrote:
Very sorry. My IDE was being weird. It is there in the