[Seaside] [BUG] [2.6a2-avi.66] #request doesn't work anymore
Avi Bryant
avi.bryant at gmail.com
Tue Jan 3 00:28:56 CET 2006
On Jan 2, 2006, at 8:50 AM, Damien Cassou wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I submitted a new bug report on : http://bugs.impara.de/view.php?
> id=2444
>
> Here is a copy.
>
> The #request method doesn't work anymore since the modifications in
> Seaside2.6a2-avi.66 (it works before in -avi.65)
>
> Create a new component (WAComponent subclass #Tester) with :
>
> Tester>>renderContentOn: html
> self request: 'Test'
Damien,
You can't send #request: (or anything else that uses #call:) from a
render method. What you want is to make Tester a subclass of WATask
and to use
Tester>>go
self request: 'Test'
Cheers,
Avi
More information about the Seaside
mailing list