Re: WicketRuntimeException: There is no application attached to current thread

2010-04-16 Thread Ernesto Reinaldo Barreiro
a separate class? > > Best, > Martin > > > -Original Message- > From: ce...@jweekend.com [mailto:ce...@jweekend.com] On Behalf Of Cemal > Bayramoglu > Sent: Friday, April 16, 2010 4:09 PM > To: users > Subject: Re: WicketRuntimeException: There is

RE: WicketRuntimeException: There is no application attached to current thread

2010-04-16 Thread Martin Asenov
t: Re: WicketRuntimeException: There is no application attached to current thread Component's getString method will try to get the laocalizer from the Application, and the Application instance (singleton for a Wicket web-app) is bound to the thread processing your request, not to the one you have spawned

RE: WicketRuntimeException: There is no application attached to current thread

2010-04-16 Thread Martin Asenov
is no application attached to current thread If you need an example on how to do this I can point you to a somewhat similar example. Ernesto On Fri, Apr 16, 2010 at 3:15 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Do not use make references to components on the thread.

Re: WicketRuntimeException: There is no application attached to current thread

2010-04-16 Thread Ernesto Reinaldo Barreiro
If you need an example on how to do this I can point you to a somewhat similar example. Ernesto On Fri, Apr 16, 2010 at 3:15 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Do not use make references to components on the thread. Instead create an > instance of runnable to which you

Re: WicketRuntimeException: There is no application attached to current thread

2010-04-16 Thread Ernesto Reinaldo Barreiro
Do not use make references to components on the thread. Instead create an instance of runnable to which you pass all the information you need and use a kind of "context" to communicate with the Web layer if you need to pass back information. Best, Ernesto 2010/4/16 Martin Asenov > Hello guys!

Re: WicketRuntimeException: There is no application attached to current thread

2010-04-16 Thread Cemal Bayramoglu
Component's getString method will try to get the laocalizer from the Application, and the Application instance (singleton for a Wicket web-app) is bound to the thread processing your request, not to the one you have spawned off of it Regards - Cemal jWeekend OO & Java Technologies, Wicket Consulti

WicketRuntimeException: There is no application attached to current thread

2010-04-16 Thread Martin Asenov
Hello guys! In a page, I have a button. The button starts a thread, just like this, but I get the exception in the bottom. Here is some code: @Override protected void onSubmit(final AjaxRequestTarget target, Form form) { final FileUpload fileUpload = fileUploadField.getFileUplo

AW: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-12 Thread Agent Mahone
he.org Gesendet: Dienstag, den 11. November 2008, 23:45:33 Uhr Betreff: Re: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1 you can retrieve the application context via the servlet context and use vanilla spring to do whatever it is you are try

Re: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Igor Vaynberg
new operator? > Or is there any other solution? > > > > > Von: Igor Vaynberg <[EMAIL PROTECTED]> > An: users@wicket.apache.org > Gesendet: Dienstag, den 11. November 2008, 18:48:24 Uhr > Betreff: Re: SessionHandling: WicketRuntimeExce

AW: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Agent Mahone
? Von: Igor Vaynberg <[EMAIL PROTECTED]> An: users@wicket.apache.org Gesendet: Dienstag, den 11. November 2008, 18:48:24 Uhr Betreff: Re: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1 wouldnt say its

Re: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Igor Vaynberg
Tue, Nov 11, 2008 at 12:59 PM, Agent Mahone <[EMAIL PROTECTED]> wrote: >> Hi guys >> >> I´m just trying to execute some code after a session timeout occurs. >> I´m using spring / wicket / hibernate frameworks. >> Why do I get this error "WicketRuntimeException: Th

Re: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Martijn Dashorst
; > I´m just trying to execute some code after a session timeout occurs. > I´m using spring / wicket / hibernate frameworks. > Why do I get this error "WicketRuntimeException: There is no application > attached to current thread http-8080-1"? > I´m not getting it...I ap

SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Agent Mahone
Hi guys I´m just trying to execute some code after a session timeout occurs. I´m using spring / wicket / hibernate frameworks. Why do I get this error "WicketRuntimeException: There is no application attached to current thread http-8080-1"? I´m not getting it...I appreciate any hin