Hi, You'll need to implement your own LinkSource, like in this example:
https://gist.github.com/dmitrygusev/6980210 You may also want to set tapestry.hostname symbol: http://tapestry.apache.org/configuration.html#Configuration-tapestry.hostname Or you may use tapestry-offline module that may help you here: https://github.com/uklance/tapestry-offline On Fri, Apr 3, 2015 at 12:13 PM, TNO <tno...@free.fr> wrote: > Hi, > > I'm using Tapestry 5.3.7, and I'm trying to send mails at tapestry startup > application. > In these mails, I need the full url of the website to create dynamic > links. > > I create a service which needs org.apache.tapestry5.services.Request > (Usually, I use getServerName and getContextPath from Request to create > the url), > but I would like to use it outside the pages at the startup application. > > But the request is always null. > > Is there a solution to use the Request or to get the full path outside > tapestry pages ? > > Any help is welcome > > Thanks, Thomas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Dmitry Gusev AnjLab Team http://anjlab.com