I don't know if the notion of "cancel" is really even possible. Yes you could get access to the IO object being used to perform the ajax request, but canceling that would merely close the IO stream.

I think the only possible notion of cancel that's realistic is just allowing you to call a listener in your page / component. At least that sounds right to me. ?

On 4/6/06, Tim Downey <[EMAIL PROTECTED]> wrote:
Hi,

Maybe this is a silly question, but what is the proper way to Cancel an AjaxForm?  Should I use the standard Tapestry solution of using a standard button with an onclick that calls 'document. form-name.events.cancel()'?  That seems sort of primitive given all of the dojo connect capabilities.

Will that be properly intercepted by the AjaxForm to cause a real Ajax cancel, or will that perform a standard form submission?

Thanks a lot!
-tim



--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around dojo/tapestry/tacos/hivemind.   http://opennotion.com

Reply via email to