[Seaside] Re: SULightbox doesn't work

Gerhard Obermann obi068 at gmail.com
Thu Dec 18 16:00:07 UTC 2008


Hi!

> renderContentOn: html
>    self lightbox: (WAFormDialog new addMessage: 'test'; yourself)

Its not allowed and doesn't even makes sense to use call: or in your case
lightbox: during the rendering phase.
It should only be used for callbacks.

cheers
Gerhard


On Thu, Dec 18, 2008 at 4:40 PM, Peter Osburg <peter.osburg at gmail.com>wrote:

>  -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> While I was extracting the necessary files, I realized that I also get
> the error message when I use a simple example with one component
> directly calling
>
> renderContentOn: html
>     self lightbox: (WAFormDialog new addMessage: 'test'; yourself)
>
> And the component is inherited from WAComponent.
>
> I made sure that I added the SULibrary to the configuration. But I
> still get this error while the SULightboxTest works fine. Comparing
> the configurations doesn't show me any difference between my
> configuration and the configuration of the lightbox-dialog application.
>
> I use
> Seaside2.8a1-pmm.581
> Scriptaculous-lr.243
> and Squeak 3.9
>
> I don't get it. And shall I really send you guys a file-out with one
> class with one method and one call?
>
> Lukas Renggli schrieb:
> >> Here we go :)
> >
> > - Please provide a *minimal example*, with one or two relevant
> > classes that demonstrate the problem. A minimal example should not
> > depend on *external* libraries or databases, unless this is
> > necessary to reproduce the problem.
> >
> > - Please add an initializer to your *root component* class, that
> > registers itself as an application. Like this somebody that tries
> > to help can reproduce the problem by loading the code and starting
> > up a web browser *within seconds*.
> >
> > To get help for free, there is first some work needed from your
> > side:
> >
> > http://www.seaside.st/community/mailinglist
> >
> > Cheers, Lukas
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAklKbvQACgkQ0qdvZsCNFKEuPwCfQg7M6nNt68FFD1NFMRV2f/SM
> DD8AnA9sQ8NaME9M0q7Exgu9LHEf1mKr
> =6m5V
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20081218/41f39d8a/attachment.htm


More information about the seaside mailing list