Thanks.
I just thought that there would be some "correct" way how to do it
because as I read Application.set() is not part of public api.
My scenario is this:
I have a wizard.
After proceeding to second step I need to transfer large amount of data
and store information to database.
This operation may take sometimes over five minutes and I want to let
user know what is going on.
So far, upon step initialization, I did it by attaching
AjaxSelfUpdatingTimerBehavior to a component which shows current status.
In the step initialization routine I also spin of new thread which makes
the transfer and update one shared field, which component with
AjaxSelfUpdatingTimerBehavior uses.
If any of you would know of better way how to solve this problem, I
would be grateful to hear.
Kind regards
Vitek
Eelco Hillenius wrote:
On Nov 30, 2007 2:40 AM, Vit Rozkovec <[EMAIL PROTECTED]> wrote:
Good day,
when I create new thread, what is the proper way of binding application
to this new thread?
If you are sure you want to do this, you can use Application.set(app)
Eelco
---------------------------------------------------------------------
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]