Ok I've got this working now, by doing the validation again, though
that doesn't seem like the optimal way to do it.
dojo.event.connectOnce(tapestry.form, "submitAsync", function
(e) {
if (e.id != "addBillableItemEventForm") return;
if (tapestry.form.validation
Ok that is quite nice. Still a few things. I'm at this point:
dojo.event.connectOnce(tapestry.form, "submitAsync", function
(e) {
if (e.id != "addBillableItemEventForm") return;
dojo.widget.byId("addBillableItemEventDialog").hide();
});
Yes:
dojo.event.connectOnce(tapestry.form, "onFormSubmit" /** or even
"submitAsync" */, function(e){
// if you think it might be an issue you can double check the target
element id
if (evt.target.getAttribute("id") != "myExpectedId")
return;
dojo.widget.byId("yourDialogCompo