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> html div id: 'id1'; <br> with: 'Opening...'<br> waitMax: 30 seconds <br>
forWork: [ self session inspect halt. (Delay forSeconds: 10) wait. ] <br> thenRender:[:r :value | r text: value]<br><br>the inspector shows nil.<br>what could be happening here?<br><br>i'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 <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:alemartinez2112@gmail.com" target="_blank">alemartinez2112@gmail.com</a>>:</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 <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ramon.leon@allresnet.com" target="_blank">ramon.leon@allresnet.com</a>>:</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">><br>> i need a progress bar for keeping the user notified about the<br>> state of an operation, the best what i've read for that until<br>
> now is this :<br>><br>> <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>
> running-processes/<br>><br>> but when i tested i get an infinite recursion (i think).<br>> to test it, install the attached mcz on a test image, add an<br>> entry point with SULibrary and open a Transcript. i added a<br>
> lot of output to understand what's happening.<br>> maybe more experienced developers (Ramon Leon?) could fix it<br>> or tell what's wrong?<br>><br>> (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. They work a bit differently now but I<br>still use them heavily and they work great. I don't use the decay hack<br>
anymore, I just send down some script and stop the polling. I'm in a hotel<br>in New Hampshire at the moment so I don't have time to dig into any code,<br>but I can tell you what'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>