Ok, my misunderstanding; the continuation id doesn't get updated when
non in AJAX mode either, and that works fine.
So now all I've got to explain is why my repeater doesn't work
properly in AJAX mode: I'm still getting "Invalid submit id (no such
widget)" when triggering actions on newly added rows.
Ellis.
On 7 Jun 2007, at 16:46, Ellis Pritchard wrote:
Hi,
I'm obviously doing something wrong but I can't work out how the
continuation-id is supposed to get updated when using CForms with
Ajax and javascript flow (Cocoon 2.1.10).
My particular problem is with repeaters; I'm adding rows using the
repeater actions, however, the continuation-id in the form is not
being updated after the action has run, since only the updated
widgets get sent back to the browser, and the continuation id isn't
a widget; so if you add another row using the added repeater, you
get an "Invalid submit id (no such widget):" exception, because you
are still in the previous Form model, where the new row doesn't exist.
What I don't understand is how this is supposed to work at all; the
BrowserUpdateTransformer, and JX macros (+JXMacrosHelper.java)
don't seem to handle updating the continuation-id, i.e. sending it
back to the browser regardless, so how is it supposed to happen?
Or am I missing something fundamental (or just mental)!
Cheers
Ellis.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]