You want wicket's page renderer to render some HTML for your email content when 
you have it run inside a quartz thread?

Why can't you just simply use a different template engine like Apache Velocity?

Have a great day,
    Paul Bors

> On May 15, 2014, at 3:27 PM, Sandor Feher <[email protected]> wrote:
> 
> Hi,
> 
> I fired up some quartz jobs for sending notification emails at given time.
> The job controller class is launched from my Application wget it get
> initialized.
> Almost everything works except of rendering mail's html body.
> I would like to do it with wicket's pagerenderer but it throws the following
> error:
> 
> org.apache.wicket.WicketRuntimeException: There is no application attached
> to current thread DefaultQuartzScheduler_Worker-5
> 
> I know it has not happen by chance but my class knows nothing about page
> rendering.
> The question is how to achieve some elegant way ? 
> I can choose different way but if possible I do it with wicket's page
> renderer.
> So please advice!
> 
> Regards., Sandor
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Page-rendering-from-quartz-job-tp4665860.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to