[Seaside] lightbox and please wait dialog
boris at deepcovelabs.com
Tue Nov 4 15:40:07 UTC 2008
-Boris (via BlackBerry)
----- Original Message -----
From: seaside-bounces at lists.squeakfoundation.org <seaside-bounces at lists.squeakfoundation.org>
To: 'Seaside - general discussion' <seaside at lists.squeakfoundation.org>
Sent: Tue Nov 04 07:30:24 2008
Subject: RE: [Seaside] lightbox and please wait dialog
today I've finished solving exactly that.
I've used a periodical updater on a component which changes its state while
The state of this component dictates which feedback will be rendered to the UI.
Its nice because you can even set there server side validation result when it
wont validate. If validates fine some kind of be patience message is displayed
until state changes to done and it end up with some feedback about process
Tip: you may be tempted to but manage yourself to don't use forks in callbacks
> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre
> de Marco D'Ambros
> Enviado el: Martes, 04 de Noviembre de 2008 13:11
> Para: Seaside - general discussion
> Asunto: [Seaside] lightbox and please wait dialog
> in a seaside application I am writing, some operations take a long
> time to complete.
> For this reason, I want to add a sort of "please wait" dialog to the
> page which automatically disappears after the operation is performed.
> I tried something like this:
> html submitButton
> (html request callback: [self lightbox:
> (WAFormDialog new
> addMessage: 'Please wait')]),
> (html request callback: [self rootApplication
> text: ' compute long operation']
> but it does not work. In particular I have to problems with that:
> 1 - the lightbox dialog is shown in the page only after the
> #computeLongOperation completed
> 2 - I dunno how to make the dialog disappear after the
> #computeLongOperation is completed.
> any suggestions will be really appreciated :-)
> seaside mailing list
> seaside at lists.squeakfoundation.org
seaside mailing list
seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside