using getLocalName, getLocalPort works, but is there easier way?
Nick Westgate wrote: > > Get the rest from: > > @Inject > RequestGlobals globals; > ... > globals.getHTTPServletRequest().get... > > Cheers, > Nick. > > > Angelo Chen wrote: >> Hi Nick, >> >> This works, however it does not show the main part, >> http://localhost:8080, >> any way to retrieve this as well? thanks. >> A.C. >> >> Nick Westgate wrote: >>> @Inject >>> private ComponentResources resources; >>> ... >>> String url = resources.createPageLink("pageName", false, >>> context).toURI(); >>> >>> Cheers, >>> Nick. > > -- View this message in context: http://www.nabble.com/T5%3A-creating-a-link-tf4638704.html#a13250260 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]