[Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF
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(),

Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread Johan Compagner
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

Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF
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

Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF
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

Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF
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