Re: [Seaside] Why isn’t my serverside callback occurring when I use ‘jQuery ajax’ in 2.9?

Steven Noble steven.noble at
Wed Mar 25 19:38:32 UTC 2009

Thanks Lukas,

That makes a lot of sense.  Putting the code in the script block was
my first instinct but I got thrown off by the name.

Thanks again,

On Wed, Mar 25, 2009 at 1:30 AM, Lukas Renggli <renggli at> wrote:
>> This is presumably because the form doesn't actually get submitted?
> #serializeThis serializes the element that triggered the event, in
> this case this "would" be the button.
> The reasons buttons don't serialize are indeed forms: If you serialize
> multiple inputs -- for example when you serialize a series of input
> fields or a complete form -- you most certainly don't want that a
> random button callback (e.g. add item, save, and cancel) is triggered
> (in fact, only the last one would actually be executed). That's why
> button callbacks are ignored and you are asked to perform your actions
> from within the callback of the AJAX element itself. It is only at
> that place where you know what action to perform.
> To put it simple: The original poster created a AJAX callback that was
> supposed to trigger a button callback. Instead of doing this
> unnecessary indirection why not simply call the button action from the
> AJAX callback?
> Lukas
> --
> Lukas Renggli
> _______________________________________________
> seaside mailing list
> seaside at

More information about the seaside mailing list