Hi guys, Within a certain page that was invoked with PageParameters, I tried retrieving the absolute path to the URL for another page. However the getRequestCycle().urlFor(Class clazz, PageParameters pageParameters) method returned to me something like "../../verify/code/1234/agent/5678" with code and agent being parameters and /verify as the mount point for that class.
As a result, when I used RequestUtils.urlFor on that relative URL, it returned something like "http://verify/code/1234/agent/5678", stripping the server:port and mount points. I made a utility method to clean up the relative url to "verify/code/1234/agent/5678" and the RequestUtils.urlFor method was able to give me the proper absolute URL. Is this a bug or is this how it really is intended to be? If so, what's the proper way of getting the absolute URL for a certain page from within a page that was invoked with parameters? Thanks. -- View this message in context: http://www.nabble.com/getRequestCycle%28%29.urlFor%28Class-clazz%2C-PageParameters-pageParameters%29-bug--tp17269961p17269961.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
