@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, 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.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]