[Seaside] How to display a busy.gif ?
Cédrick Béler
cbeler at enit.fr
Wed Aug 30 14:45:55 UTC 2006
>
> The code on seasidehosting.st looks like this:
>
> renderButtonsOn: html
> html div
> class: 'buttons';
> with: [
> html submitButton
> disabled: self isQuotaExeeded;
> onClick: (html element
> id: 'spinner';
> show);
> onClick: 'return true';
> on: #upload of: self.
> html submitButton
> on: #close of: self.
> html image
> id: 'spinner';
> style: 'margin-left: 5px; display: none;';
> extent: 16 @ 16;
> url: '/resources/pics/spinner.gif' ].
>
> Since this does a full page refresh it is automatically disabled after
> the refresh of the page. If you combine it with an AJAX action simply
> add a hide effect to the onComplete: event.
>
> Hope this helps,
>
sure it is ;)
I just don't understand
onClick: 'return true';
is it: return: true instead ... ?
and anyway, can you explain a bit what this message does ?
thanks
Cédrick
More information about the Seaside
mailing list