Am Mittwoch, den 19.05.2010, 16:48 -0300 schrieb Adriano dos Santos Fernandes: > On 19/05/2010 16:36, James Carman wrote: > > What itch are we trying to scratch, here, anyway? When do folks need > > access to the Application object outside of a request thread? What is > > the usecase? > > > I have a piece of code that runs in a timer, and renders a page to a > string to be sent via email. So I do need the app object to make a > session. I do catch it from a static field.
I use the BaseWicketTester-Class for this kind of stuff.. http://www.wicket-praxis.de/blog/2009/12/01/sending-html-email-from-wicket-app/ mm:)