[Seaside] trivial seaside test thingie

Lawson English lenglish5 at cox.net
Fri Nov 13 09:11:01 UTC 2009


initialRequest: aRequest

    Transcript show: ((aRequest fields) associationsDo: [:value | 
Transcript show: value;cr]).



just shows 'a Dictionary' in the Transcript window. But I know that the 
POST contains 1707 bytes although I can't figure out how to see them.

Julian Fitzell wrote:
> Register an Application and POST to that URL. In your root component,
> implement #initialRequest: and look inside the passed-in Request
> object for the POST fields.
>
> At least that's one way of doing it. Another, depending on what you're
> trying to accomplish, would be to write your own RequestHandler.
>
> Julian
>
> On Thu, Nov 12, 2009 at 4:56 PM, Lawson English <lenglish5 at cox.net> wrote:
>   
>> I'd like to do something that I am sure is exceedingly trivial, but not sure
>> how to start:
>>
>> I want to route an existing app to POST to a webpage and then examine all
>> the header/body info from within seaside/pharo.
>>
>>
>> I realize this is trivial, but the brain isn't working. COuld I have a hint?
>>
>>
>> THanks.
>>
>>
>>
>> Lawson
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>     
>
>   



More information about the seaside mailing list