[Seaside] accessing the current post parameters

Philippe Marschall philippe.marschall at gmail.com
Sun Feb 12 19:12:54 UTC 2012


2012/2/12 sergio_101 <sergiolist at village-buzz.com>:
>>
>> Are you in the render phase instead of the continuation? Eg. is the
>> request you're seeing a GET instead of a POST request?
>
> ah.. ok. this is the very beginning for my site.. so there is only one
> component.. a render..
> i tried running:

Usually in this case you would implement #initialRequest:

> renderContentOn: html
>        (self requestContext request) inspect.
>        html heading: 'this is the canvas' level: 3
>
> and get this:
>
> <error in printString: evaluate "self printString" to debug>

Interesting …

What about?

renderContentOn: html
       (self requestContext request) halt.
       html heading: 'this is the canvas' level: 3


Cheers
Philippe


More information about the seaside mailing list