Not yet. If you desire one, please log a JIRA.
Cheers,
Nick.
Angelo Chen wrote:
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]