[Seaside] Static link to get variables

Avi Bryant avi.bryant at gmail.com
Tue Feb 14 21:48:56 CET 2006


On Feb 12, 2006, at 6:51 AM, Florian Minjat wrote:

> Nobody knows how to do that or is it impossible for the moment with  
> Seaside ? Or perhaps nobody understood what I meant.

I'm not exactly clear on what you meant, no.  Where do you want to be  
able to get this URL from?

Avi

> Florian
>
> Florian Minjat wrote:
>> Thanks !
>>   So now i know how to handle request like http://.../seaside/ 
>> myApp?foo=bar to start my app.
>>   A little more complex now : I want to do the same, but from an  
>> integrated flash menu. The trick is that I don't want to loose my  
>> session and context. I tried by just adding the '&foo=bar' at the  
>> end of the url ( http://.../seaside/myApp? 
>> _k=UeGCjSsi&_s=OTvjybecbYCHpKsn&foo=bar) and it seemed to work,  
>> but I don't know how to get this string for a particuliar action.  
>> Any idea ?
>> Florian
>> Avi Bryant wrote:
>>>
>>> On Feb 7, 2006, at 12:52 AM, Dmitry Dorofeev wrote:
>>>
>>>> Hi,
>>>>
>>>> You need to subclass WARenderLoopMain
>>>> and implement (start: aRequest) method
>>>
>>> There's a somewhat easier way to do this in recent versions of  
>>> Seaside - after the initial component tree is created by  
>>> #createRoot, every component in the tree will be sent  
>>> #initialRequest: with the request object that started the  
>>> session.  This can be especially effective when paired with a  
>>> WATask subclass as the root, so that it can, eg, present a login  
>>> page as needed depending on the request.
>>>
>>> Avi
>>> _______________________________________________
>>> Seaside mailing list
>>> Seaside at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>> _______________________________________________
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the Seaside mailing list