Re: How to best construct and express this service?

2013-09-21 Thread Barry Books
Here is what I do: 1. Write a simple service that just performs the action you want 2. If you need real time processing just call it. 3. Create a page that just calls the service and schedule accessing that page with Hudson/curl On Sat, Sep 21, 2013 at 2:41 PM, Martin Kersten wrote: > Hi there

Re: Encoding a template as a valid JSON String

2013-09-21 Thread Martin Kersten
If you can prevent Tapestry from removing your comments, you can just use comments to transfer your data. Walking the dom isnt that costly in java script and if you have a certain div (like the content div etc) you can use it as a starting point. Inside the comment you can write any payload you wan

How to best construct and express this service?

2013-09-21 Thread Martin Kersten
Hi there, I need to implement a service that reads tasks (descriptions) from the database, does some tasks and sleeps again. The thread must be able to woke up if an other service demands just in time processing. Requirements: 1. Need a Hibernate Session inside the main loop. 2. Needs to be a

FYI: Maven, 5.4 and Geb

2013-09-21 Thread Barry Books
I have a Maven project that I've converted to 5.4 and I decided to write some new Geb test cases for it. Seems simple enough but they did not run at all. Apparently Maven only runs classes ending in Test and mine were Spec. After fixing that they ran fine but reported 0 tests run. After some diggin

Re: loop inside loop

2013-09-21 Thread Michael Gentry
Hello Jan, There was recently a discussion about t:context (and other things) not working as you would expect in a t:ajaxformloop compared to a t:loop. You may want to read through that discussion thread here: http://mail-archives.apache.org/mod_mbox/tapestry-users/201308.mbox/%3CCAAT_KPKFj561y3