The link you have found was a workaround to avoid the problem. You can see
the actual problem in this example:

http://pastebin.com/0GwGXkmr  

The usage example:
 
@SpringBean
private Service service;
new ProcessExecutorPanel("associatedFilesMigration") { 
      @Override 
      protected void execute() { 
           //a business logic method which takes a lot time to complete 
           //in this context Application is not available and it complains
that Application is not attached to current thread 
           service.startMigration(); 
      } 
}; 

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/using-injected-services-in-a-child-thread-tp2233924p2235118.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to