[Seaside] Updaters clicks and changes on (sub)components

Lukas Renggli renggli at gmail.com
Sun Nov 25 08:06:30 UTC 2007


>         The problem arrives when the user makes two quick clicks in it
> instead on one. For most cases there is no problem at all but, if in the
> callback of the updater exist some message that removes a children of the
> updated component, then the second updater makes continuations complain
> about not finding that children to receive the action.

Two possible solutions:

1. backtracking of the children (don't know if this works as expected with AJAX)

2. #children is supposed to return all children that you *might*
display. You can also return more (e.g. the old and the new one)

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list