swaroop belur wrote:

But  mind u- that thread may not have references to stuff like
ur session,application objects- they might be null. So you will have to
first get
the reqd stuff (any dependecies- say something from ur service layer for
example)
and then start the thread.
-swaroop
Would you mind sharing a bit of your code? So far I did Application.set(app) in the run() method (app is reference to application from standart thread Wicket is running in), but I think this is not the right way as the set() method is not part of the public API.

What is the best way to do this?

Thanks alot.

Vitek



Ví­t Rozkovec wrote:
Hallo,
how can I force from a middle of the loop, which may run up to few minutes to update a component's value? I am manipulating a lot of files and I would like to let the user know how much of the processing is already done. I would like to start processing the files when user reaches certain page and on this same page I want to display statistics of the process. As an example I tried to use a Clock from your ajax example, but I cannot manage it to update during running of the loop. I thought of achieving it somehow with threads, is this right direction?
What is the correct way to do it?

Thank you.

Vitek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to