In answer to my own question:
Inject HibernateSessionSource and call its create() method to get a new
session.
public synchronized void execute(String url, String subject,
SendEmail sendEmail, HibernateSessionSource sessionSource) {
// For each mailout fetch url and send mailout
Hi,
I have a batch job that sends email to users based on a query in my
database.
AppModule starts it up like so in a:
@Startup
public static void scheduleJobs(PeriodicExecutor executor, final
BulkEmailer emailer,
@Value("${liftyourgame.url}")
Str
2012/1/28 Julien Martin
> Hello Thiago,
>
> It is on a page template. The advice you provide does work. However, I am
> realizing I need to concatenate the protocol+host+etc. which is a bit
> cumbersome.
>
> The problem I have is that I don't understand how the path is worked out.
> My javascript
On Sat, 28 Jan 2012 17:43:17 -0200, Julien Martin wrote:
Hello,
Hi!
How can I achieve this with T5?
As a general answer, you can @Inject HttpServletRequest and use its
getContextPath() method. Depending on who handles this URL (a Tapestry
page? a Tapestry page event handler method), t
Hi,
i have issue with AjaxFormLoop after i`ve updated from 5.2.6 to 5.3.1.
When i click on AddRow link following javascript error occurs (copy/paste
from firebug):
Communication with the server failed: undefined
consolefn && consolefn.call(console, message);
t5-console.js (line 61)
Ajax failure