This content has been marked as final.
Show 2 replies
-
1. Re: How to cancel an action
jguglielmin Dec 5, 2008 6:29 PM (in response to essepuig)See seam-comp-showcase example of progressMonitor which shows a thread spinning off to do a task. In web.xml, you need to make sure you have the following
<context-param> <param-name>com.icesoft.faces.synchronousUpdate</param-name> <param-value>false</param-value> </context-param>
to ensure asynchronous processing. Also, make sure to keep a reference to the thread (that your action spins off) in the bean so you can cancel it. -
2. Re: How to cancel an action
essepuig Dec 8, 2008 12:05 PM (in response to essepuig)That can sound stupid, but where do I find the seam-comp-showcase ?? I have look everywhere and I don't find it :(. And how do I keep a reference to the thread in the bean ??
Thanks,
Ezequiel.