Re: PageRenderLinkSource inside periodic executor

2013-10-14 Thread Bob Harner
Just a word of caution that Dmitry's sample code uses an internal class (LinkImpl) subject to change. On Mon, Oct 14, 2013 at 2:54 PM, Dmitry Gusev wrote: > Here is a code snippet I use in my projects to generate links in "offline": > > https://gist.github.com/dmitrygusev/6980210 > > these prope

Re: PageRenderLinkSource inside periodic executor

2013-10-14 Thread Dmitry Gusev
Here is a code snippet I use in my projects to generate links in "offline": https://gist.github.com/dmitrygusev/6980210 these properties should be declared in your app symbols (of course with your own values): tapestry.hostname=localhost tapestry.hostport=8080 tapestry.hostport-secure=8443 ta

Re: PageRenderLinkSource inside periodic executor

2013-10-14 Thread Lance Java
As Barry has said, this might be easier to do inside a real request fired by Hudson. If you want to go down the 'fake' request route then I'll give my tapestry-offline project a plug :) https://github.com/uklance/tapestry-offline

Re: PageRenderLinkSource inside periodic executor

2013-10-14 Thread Barry Books
Why fake one when it's just as easy to have a real one. As I've said on the list before create a webpage and call it from Hudson. If you really what to use a periodic executor then just use url.getContent() in the executor. On Mon, Oct 14, 2013 at 12:25 PM, Dimitris Zenios wrote: > Hello ever

PageRenderLinkSource inside periodic executor

2013-10-14 Thread Dimitris Zenios
Hello everyone I am trying to create some links to a tapestry page inside a periodic executor runnable.I am using pageRenderLinkSource to create the urls but it throws an exception when trying to construct the url since Request is null.I know where the problem is (Request is null since periodic ex