Lost but not in an island.<br>i have this problem: If i want to access the seaside session inside de forWork block will answer nil, e.g:<br><br>&nbsp;&nbsp;&nbsp; html div id: &#39;id1&#39;;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; with: &#39;Opening...&#39;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; waitMax: 30 seconds <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; forWork: [ self session inspect halt. (Delay forSeconds: 10) wait. ] <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; thenRender:[:r :value | r text: value]<br><br>the inspector shows nil.<br>what could be happening here?<br><br>i&#39;ve followed the message chain over the WATagBrush down to this method in BlockContext and BlockClosure <br>
<br>valueWithing: onTimeout<br><br>but i cannot figure out from there how can i fix this one. <br><br>regards<br><br><br>
<div><span class="gmail_quote">2008/2/29, Alejandro Martínez &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:alemartinez2112@gmail.com" target="_blank">alemartinez2112@gmail.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">thanks for your answer Ramon, it worked pretty fine. <br><br><br>
<div><span class="gmail_quote">2008/2/29, Ramon Leon &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ramon.leon@allresnet.com" target="_blank">ramon.leon@allresnet.com</a>&gt;:</span>
<div><span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">&gt;<br>&gt; i need a progress bar for keeping the user notified about the<br>&gt; state of an operation, the best what i&#39;ve read for that until<br>
&gt; now is this :<br>&gt;<br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://onsmalltalk.com/programming/smalltalk/polling-for-long-" target="_blank">http://onsmalltalk.com/programming/smalltalk/polling-for-long-</a><br>
&gt; running-processes/<br>&gt;<br>&gt; but when i tested i get an infinite recursion (i think).<br>&gt; to test it, install the attached mcz on a test image, add an<br>&gt; entry point with SULibrary and open a Transcript. i added a<br>
&gt; lot of output to understand what&#39;s happening.<br>&gt; maybe more experienced developers (Ramon Leon?) could fix it<br>&gt; or tell what&#39;s wrong?<br>&gt;<br>&gt; (note the callback of the periodical is never evaluated)<br>
<br><br>That artcle is a bit out of date, download my image and check out the<br>current version of those methods.&nbsp;&nbsp;They work a bit differently now but I<br>still use them heavily and they work great.&nbsp;&nbsp;I don&#39;t use the decay hack<br>
anymore, I just send down some script and stop the polling.&nbsp;&nbsp;I&#39;m in a hotel<br>in New Hampshire at the moment so I don&#39;t have time to dig into any code,<br>but I can tell you what&#39;s in my image works well.<br>
<br>Ramon Leon<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://onsmalltalk.com/" target="_blank">http://onsmalltalk.com</a><br><br>_______________________________________________<br>seaside mailing list<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></span></div></div><br></blockquote></div><br>