[Seaside] changing components without a complete redraw
David Pollak
dpp at athena.com
Thu Sep 21 14:00:18 UTC 2006
Cédrick,
On Sep 21, 2006, at 2:20 AM, Cédrick Béler wrote:
>
>> I'm trying to figure out how to use Seaside and Scriptaculous to
>> cause components on a page to be redrawn if they have changed from
>> the last HTTP request. The scenario looks something like:
>>
>> html anchor
>> onClick: (html updater
>> callback: [ :render | self changeMe. self otherComponent
>> changeYou. render /renderAllChangedElements/ ]);
>> with: 'Do Change'.
>>
>>
>>
>
> ...
>
> But maybe what you'd like to do is implementing a method
> renderAllChangedElement in WACanvas ?
> That seems complicated to me... you need to collect what are the
> components that have their state changed and then redisplay them by
> using updaters ?? Is it what you want ?
>
This is what I want. I guess I'll write the code.
Thanks,
David
More information about the Seaside
mailing list