Thank you!
Wow! I can't believe how fast development is... I just updated to 1.2.6, but looking at Jira, it seems that 1.3.0 is about to be closed... Should I still file an issue? If so, for which version? (Unfortunately, I'm not in a position to verify with how things are working in trunk...) Thanks, David On Fri, 2007-06-29 at 14:16 -0700, Igor Vaynberg wrote: > On 6/29/07, David Leangen <[EMAIL PROTECTED]> wrote: > > Hello! > > I'm wondering if something has changed in 1.2.6 and the API > docs are out > of date, or if I just misunderstood the API docs... > > I am trying to get the URL of the request (the complete URL in > the form > http://my.company.com/blah/hello?a=b&c=d). > > This is how: > > WebRequest request = getWebRequestCycle().getWebRequest(); > String baseUrl = request.getURL (); > > > The API docs say: > > getURL > public abstract java.lang.String getURL() > Retrieves the absolute URL of this request for local > use. > > Returns: > The absolute request URL for local use > > > > However, I am getting something that looks like > > > /hello///?wicket:interface=2:form.requestPassword::IFormSubmitListener > > I don't mind anything after the "?", but I do need the > _absolute_ URL, > meaning everything in the form I wrote above. > > you have access to httpservletrequest from which you can reconstruct > the full url by concatenating all the pieces. > > ((webrequest)getrequest()).gethttpservletrequest() > > > Did I misunderstand the API docs? > > please add a jira issue to have this fixed > > -igor > > > > Thanks! > Dave > > > > > > ------------------------------------------------------------------------- > 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