Re: [Wicket-user] How to attach thread

2007-03-15 Thread Martijn Dashorst
You can still do that, but you need to reverse the logic: query the running thread for the required progress/data instead of pushing it from the thread to the session. The difference between Swing apps and web apps is that you can run the web app on multiple machines, where the session is shared b

Re: [Wicket-user] How to attach thread

2007-03-15 Thread Thomas Kuechenthal
But how for example will it then be possible to run time intensive functions while updating the process status within the gui? I think in a MVC or event driven environment it must be possible to completly seperate the business logic from the gui. In Swing for example it is the usual way to put time

Re: [Wicket-user] How to attach thread

2007-03-14 Thread Johan Compagner
First of all you shouldn't really access the session in another thread. Because that is not really supported by a webcontainer, especially in clustering or persistent storage.. So if you want to spawn to a thread you should only really do backend logic, not gui logic things. If you really want t

[Wicket-user] How to attach thread

2007-03-14 Thread Thomas Küchenthal
Dear all, within my Wicket application I'm using a self build process framework. I klick on a wicket button and a process starts running in an own thread. I want the process thread to take over the control of the wicket thread to e.g. build the gui, or change the current model of a component etc..