Re: Generating link/url without RequestGlobals

2012-09-30 Thread Lance Java
nce. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Generating-link-url-without-RequestGlobals-tp5716546p5716566.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe

Re: Generating link/url without RequestGlobals

2012-09-30 Thread trsvax
} catch (Exception e) { logger.error("Email get HTML {} {}",url,e.getMessage()); } return ""; } } -- View this message in context: http://tapestry.1045711.n5.nabble.com/Generating-link-url-without-Re

Re: Generating link/url without RequestGlobals

2012-09-29 Thread Alex Kotchnev
Yeah, I was aware of tapx-templating, but I seem a little confused about its purpose. The GitHub readme states that it's for generating offline content, which an email kinda is, but not quite as I need the html email to point to all of the resources of the running app (e.g. logos, etc). One of the

Re: Generating link/url without RequestGlobals

2012-09-29 Thread Thiago H de Paula Figueiredo
On Sat, 29 Sep 2012 12:01:40 -0300, Alex Kotchnev wrote: It would have been cool if there was something that allowed generating links and/or rendering tapestry templates in a non-web context (e.g. Grails has a GSP page renderer http://mrhaki.blogspot.com/2012/03/grails-goodness-render-gsp

Re: Generating link/url without RequestGlobals

2012-09-29 Thread Alex Kotchnev
Thiago - thanks for the pointer, I ended up pre-rendering the content of the emails in the web app and storing it, and then performing the actual sending using the pre-rendered content in the queue. It would have been cool if there was something that allowed generating links and/or rendering tape

Re: Generating link/url without RequestGlobals

2012-09-28 Thread Thiago H de Paula Figueiredo
On Fri, 28 Sep 2012 15:41:50 -0300, Alex Kotchnev wrote: In my application, I send html emails which contain links to the application. I use the pageRenderLinkSource.createPageRenderLink to generate the URLs from within the application. So far, so good. The trouble begins when I tried to mak