Re: Loading Wicket resources from a background thread

2010-08-11 Thread Alec Swan
asked this same question. I didn't see you post (sorry list). Please let me know if you figure it out. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Loading-Wicket-resources-from-a-background-thread-tp2319046p2320388.html Sent from the Wicket - User mailing list

Re: Loading Wicket resources from a background thread

2010-08-10 Thread rmattler
Wow just asked this same question. I didn't see you post (sorry list). Please let me know if you figure it out. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Loading-Wicket-resources-from-a-background-thread-tp2319046p2320388.html Sent from the Wicket - User

Loading Wicket resources from a background thread

2010-08-09 Thread Alec Swan
Hello, I am using Wicket 1.4.5 and I need to read a property from my application resource file from a Quartz background thread which is scheduled to execute periodically. When I use StringResourceModel from the background thread I get an exception saying There is no application attached to

Re: Loading Wicket resources from a background thread

2010-08-09 Thread James Carman
If you're using Maven, you can do something similar to what I've done in my advanced wicket application. http://svn.carmanconsulting.com/public/wicket-advanced/trunk/ On Mon, Aug 9, 2010 at 4:57 PM, Alec Swan alecs...@gmail.com wrote: Hello, I am using Wicket 1.4.5 and I need to read a

Re: Loading Wicket resources from a background thread

2010-08-09 Thread Alec Swan
James, I am not using maven. Any other ideas? On Mon, Aug 9, 2010 at 4:09 PM, James Carman ja...@carmanconsulting.comwrote: If you're using Maven, you can do something similar to what I've done in my advanced wicket application. http://svn.carmanconsulting.com/public/wicket-advanced/trunk/

Re: Loading Wicket resources from a background thread

2010-08-09 Thread Alec Swan
Hello, In my app I need to access a certain property (application.url) from Wicket page as well as Quartz background threads. Is there a way to make properties/resources loaded by Spring accessible through Wicket StringResourceModel? Thanks, Alec On Mon, Aug 9, 2010 at 4:46 PM, Alec Swan