[Seaside] Entire html stream in span after html updater
renggli at gmail.com
Mon Aug 14 17:47:56 UTC 2006
> Please find a small example attached. In UpdaterTest1 you can select
> between Characters and Integers and when you add any of these two, it
> adds it to the list. In UpdaterTest2 (that inherits from UpdaterTest1) I
> just added a submit button. When selecting characters or integers to add
> to the list in the second version, the entire html content is returned.
script.aculo.us is triggering the button callback. This causes Seaside
to abort further callback processing and restart the rendering loop
with a full page render.
Now what can we do about this?
Choose one of these options:
- Instead of triggering the whole form you could just trigger the form
elements you require, in your case the changed select box.
- Change the way Seaside processes action-callbacks, this means to
ignore all action callbacks with script.aculo.us requests. This is
quite a deep change to Seaside, so maybe we should rethink that.
More information about the Seaside