[Seaside] Legacy system and Seaside

Thierry Thelliez thierry.thelliez.tech at gmail.com
Thu Sep 10 05:07:42 UTC 2009


Thanks for the suggestion. Unfortunately I have a lot of old code
relying on such variable passing.


Thierry

On Wed, Sep 9, 2009 at 10:53 PM, Colin Putney <cputney at wiresong.ca> wrote:
>
> On 9-Sep-09, at 4:05 PM, Thierry Thelliez wrote:
>
>> Thanks Boris, the example helps.
>>
>> One more question. Can you pass a parameter within Seaside from one
>> page to another? I am not asking about the regular Seaside way. This
>> is in the context of an older application ported to Seaside.
>>
>> Assuming that I have a regular Seaside page pointing to another page:
>>
>>                canvas anchor
>>                        callback: [ self show: LegacyPage new ];
>>                        with: 'LegacyApp'.
>>
>> I would like to pass a variable to 'LegacyPage'. I implemented
>> 'updateURL:' and 'initialRequest:' for LegacyPa
>
> Why go through the browser to pass the variable? Just do something like
> this:
>
>        canvas anchor
>                callback: [ self show: (LegacyPage withV1: 'xyz') ];
>                with: 'LegacyApp'.
>
> Colin
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list