Re: T5: creating a link

2007-10-17 Thread Nick Westgate
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.

Re: T5: creating a link

2007-10-17 Thread Angelo Chen
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, howeve

Re: T5: creating a link

2007-10-17 Thread Nick Westgate
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:

Re: T5: creating a link

2007-10-17 Thread Angelo Chen
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).

Re: T5: creating a link

2007-10-17 Thread Nick Westgate
@Inject private ComponentResources resources; ... String url = resources.createPageLink("pageName", false, context).toURI(); Cheers, Nick. Angelo Chen wrote: Hi, I need to create a link in the code so that it can be mailed to users, example, if I have a page called Confirmation, th

T5: creating a link

2007-10-17 Thread Angelo Chen
Hi, I need to create a link in the code so that it can be mailed to users, example, if I have a page called Confirmation, then I like to be able to obtain in the code like this: http://localhost:8080/Confirmation, any way to do this? Thanks. A.C. -- View this message in context: http://www.nabb