call it anyway :)
-igor
On 12/22/06, Jaime De La Jara <[EMAIL PROTECTED]> wrote:
Hi, I need to start a new thread that loads some data while displaying a
progress bar, however I'm getting the following exception :
Exception in thread "Thread-20" wicket.WicketRuntimeException: There is no
application attached to current thread Thread-20
at wicket.Application.get(Application.java:163)
at wicket.spring.SpringWebApplication$1.getSpringContext(
SpringWebApplication.java:52)
at wicket.spring.SpringBeanLocator.locateProxyTarget(
SpringBeanLocator.java:117)
at wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(
LazyInitProxyFactory.java:373)
at wicket.proxy.$Proxy0.cargarProveedores(Unknown Source)
at cl.eclac.sipc.web.administracion.paginas.VendorsLoadProcess.run(
LoadVendors.java:145)
at java.lang.Thread.run(Thread.java:595)
To the new thread I'm passing a dao to do the data load :
new Thread(new VendorsLoadProcess(LoadVendors.this.getVendorDao(),
ajaxBar,
msgSuccess, msgError)).start();
How can I fix this error? I checked tha API and it says that :
*set<http://wicket.sourceforge.net/apidocs/wicket/Application.html#set%28wicket.Application%29>
*(Application<http://wicket.sourceforge.net/apidocs/wicket/Application.html>
application)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.
Any help would be greatly appreciated, thanks.
Jaime.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user