wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Rantalaiho <Timo.Rantala...@ri.fi>
Subject Re: updating a page when external event occurs
Date Mon, 01 Dec 2008 13:04:26 GMT
On Mon, 01 Dec 2008, marino wrote:
> // this is the event listener method itself, called from the Gigaspaces
> library
> // when some eventon their space is detected

It really sounds like it would be from within another
thread, right? The best way would be to refactor your code
so that Wicket code would only make the hierarchy change
during the request cycle. 

To be able to do it like you're trying, you would have to
emulate request cycle processing in the notify() method (at
least set up the Application ThreadLocal), but it doesn't
sound as good as the other way.

Best wishes,

Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

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

View raw message