On 07/05/13 16:07, Lance Java wrote:
Perhaps, as George mentioned, this is better handled by a single form with
two submit buttons. You can use the onSelectedFromX() event to flag which
submit button was pressed.

Hey,

I fixed my problem using an AjaxFormLoop in Form B:

1) Form A submit adds a new item to the collection and using _javascript_Support calls trigger() on the FormInjector inside the AjaxFormLoop
2) AjaxFormLoops onAddRow event returns the newly added item

Now the only problem I have left is: removing an item (using AjaxFormLoop remove event) works, but it does not rerender zones if I add some to this event (AjaxResponseRenderer.addRender()).

I'm using tapestry5-jquery library btw.

--

Een klare kijk op aanvullende pensioenen

Nathan Quirynen
03 340 04 60 | 0494 28 45 15
nat...@pensionarchitects.be

Follow us on Web | Twitter | LinkedIn | RSS | YouTube

Reply via email to