<div dir="ltr">Hi,<div><br><div>[1] Paul and Ramon suggested to use the ThreadPool [2] to me.</div><div>I want to replace my forked code for generating reports with it.</div><div><br></div><div>When trying to use it within my seaside application, I have a problem. </div><div>I reduced the Problem to this:</div><div><br></div><div>-> this works, a simple in inspector pops up </div><div>html mdlButton<br></div><div><div><span class="gmail-Apple-tab-span" style="white-space:pre">              </span>onClick: (html jQuery ajax script: [ :script | [ #simple inspect ] queueWork ]);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>with: '0'.</div><div><br></div><div>-> this does not work. </div><div>The generation of my reports needs the sessions objects.</div><div>Also, calling another method of the session does not work.</div><div><br></div><div>html mdlButton</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span>onClick:</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                       </span>(html jQuery ajax</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                              </span>script: [ :script | [ self session inspect ] queueWorkAndExpireIn: 25 seconds session: self session ]);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>with: '1'</div></div><div><br></div><div>Did I miss something?</div><div>Paul, thank you for updating [3] a few days ago </div><div><br></div><div>[1] <a href="http://forum.world.st/immediate-display-alert-to-user-while-Ajax-request-td4956083.html#a4956534" target="_blank">http://forum.world.st/<wbr>immediate-display-alert-to-<wbr>user-while-Ajax-request-<wbr>td4956083.html#a4956534</a><br><div><br></div><div>[2]  <a href="http://onsmalltalk.com/2010-07-28-a-simple-thread-pool-for-smalltalk" target="_blank">http://onsmalltalk.com/2010-<wbr>07-28-a-simple-thread-pool-<wbr>for-smalltalk</a><br></div><div><a href="http://smalltalkhub.com/#!/~pdebruic/ThreadPool/packages/ThreadPool" target="_blank">http://smalltalkhub.com/#!/~<wbr>pdebruic/ThreadPool/packages/<wbr>ThreadPool</a><br></div></div></div></div>