A progress bar for seaside

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

A progress bar for seaside

Alejandro Martínez
i need a progress bar for keeping the user notified about the state of an operation, the best what i've read for that until now is this :

http://onsmalltalk.com/programming/smalltalk/polling-for-long-running-processes/

but when i tested i get an infinite recursion (i think).
to test it, install the attached mcz on a test image, add an entry point with SULibrary and open a Transcript. i added a lot of output to understand what's happening.
maybe more experienced developers (Ramon Leon?) could fix it or tell what's wrong?

(note the callback of the periodical is never evaluated)



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

ProgressBar-atm.1.mcz (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: A progress bar for seaside

Ramon Leon-5
>
> i need a progress bar for keeping the user notified about the
> state of an operation, the best what i've read for that until
> now is this :
>
> http://onsmalltalk.com/programming/smalltalk/polling-for-long-
> running-processes/
>
> but when i tested i get an infinite recursion (i think).
> to test it, install the attached mcz on a test image, add an
> entry point with SULibrary and open a Transcript. i added a
> lot of output to understand what's happening.
> maybe more experienced developers (Ramon Leon?) could fix it
> or tell what's wrong?
>
> (note the callback of the periodical is never evaluated)

That artcle is a bit out of date, download my image and check out the
current version of those methods.  They work a bit differently now but I
still use them heavily and they work great.  I don't use the decay hack
anymore, I just send down some script and stop the polling.  I'm in a hotel
in New Hampshire at the moment so I don't have time to dig into any code,
but I can tell you what's in my image works well.

Ramon Leon
http://onsmalltalk.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: A progress bar for seaside

Alejandro Martínez
thanks for your answer Ramon, it worked pretty fine.


2008/2/29, Ramon Leon <[hidden email]>:
>
> i need a progress bar for keeping the user notified about the
> state of an operation, the best what i've read for that until
> now is this :
>
> <a href="http://onsmalltalk.com/programming/smalltalk/polling-for-long-" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://onsmalltalk.com/programming/smalltalk/polling-for-long-
> running-processes/
>
> but when i tested i get an infinite recursion (i think).
> to test it, install the attached mcz on a test image, add an
> entry point with SULibrary and open a Transcript. i added a
> lot of output to understand what's happening.
> maybe more experienced developers (Ramon Leon?) could fix it
> or tell what's wrong?
>
> (note the callback of the periodical is never evaluated)


That artcle is a bit out of date, download my image and check out the
current version of those methods.  They work a bit differently now but I
still use them heavily and they work great.  I don't use the decay hack
anymore, I just send down some script and stop the polling.  I'm in a hotel
in New Hampshire at the moment so I don't have time to dig into any code,
but I can tell you what's in my image works well.

Ramon Leon
<a href="http://onsmalltalk.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://onsmalltalk.com

_______________________________________________
seaside mailing list
[hidden email]
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside