Re: Localizer in a new Thread

2010-09-02 Thread Fernando Wermus
gt; > > > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > ----------------- > > > To unsubscribe, e-mail: [hidden email]< > http://user/SendEmail.jtp?type=node&

Re: Localizer in a new Thread

2010-07-30 Thread Alex Objelean
mailing list archive at Nabble.com. > > > > - > > To unsubscribe, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=2308410&i=1> > > For additional commands, e-mail: [hidden > > email

Re: Localizer in a new Thread

2010-07-30 Thread Fernando Wermus
Ale, Related to what you have mentioned. I render mails with some mockHTTPrequest and mockeHTTPResponse, etc. But, I need to render mails in a different thread than wicket's one. I have another servlet that runs Blazeds (Flex) where I also need to render some mails, but I got "There is no appl

RE: Localizer in a new Thread

2010-07-30 Thread Warren Bell
I am not sure how to preload the the values. I am trying this, but am not getting anywhere. myApp.getResourceSettings().getPropertiesFactory().load(ScanManTask.clas s, "com.scanman.cron.task") I have a properties file named ScanManTask.properties and have added it to my app like this: getResourc

RE: Localizer in a new Thread

2010-07-30 Thread Alex Objelean
There was a long discussion about this. One of the proposal was to use InheritableThreadLocal which would solve this problem, but there was a lot of concerns about this approach. The solution I have found was this: If you create the thread with ExecutorService, you could do the following: f

RE: Localizer in a new Thread

2010-07-29 Thread Warren Bell
To clarify, I want to use Localizer#getString(...) in a thraed I create. I have seen other posts on this issue, but haven't been able to figure out the solution. Warren -Original Message- From: Warren Bell [mailto:warr...@clarksnutrition.com] Sent: Thursday, July 29, 2010 3:31 PM To: us