According to the docs, calling document.formname.events.cancel()
should do whatever is necessary to disable client side validation and
call my cancel listener on the server. However, when I do this in IE,
I am getting an error about the 'events' object not existing.
JS error - events is null or not an object
Surely I am not the first to encounter this problem. Anyone got a
solution for cancelling a form submission in firefox AND ie? Looking
at Form.js
Maybe something like Tapestry.find(formname).events.cancel() would
work? I haven't tried it yet, but that is how the events object is
assigned in Form.js:
Tapestry.register_form = function(formId)
{
var form = this.find(formId);
form.events = new FormEventManager(form);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]