lltyk/tapestry5-jquery — comment on commit 01140c0770d1fa87daf96c989f787cad22ba708d
File:  line 0
By lltyk:

If you directly use FormInjector and call trigger, then you can. I made my own AjaxFormLoop with beforeAdd/afterAdd/beforeRemove/afterRemove js callbacks. So this component does this:
onAddClick : function(e) {
log('onAddClick');
e.preventDefault();
var _this = this;
if (this.beforeAdd(e))
this.injector.tapestryFormInjector("trigger", function(id) { _this.afterAdd(id); });
else
log('beforeAdd said no');
},

Alternatively it could be a custom event instead.