Thiago H. de Paula Figueiredo wrote: > > > You must return your Zone instance in your onSuccess() method. If you > return a page, it will be a normal, non AJAX request. >
I've returned a zone from my onSuccess method which I'm getting using injectComponent, and the behaviour is the same, the form is submitted which triggers a post to the server which returns the following: {"script":"Tapestry.init({\"zone\":[\"chatLineZone\"]});\n","content":"<div class=\"t-zone t-invisible \" id=\"chatLineZone\"><\/div>"} Is there a way to register a javascript callback function which I can use to clear out the contents of my form text field or is it possible to do this from within the onSuccess method? -- View this message in context: http://www.nabble.com/-T5----Using-a-mixin-on-a-beaneditform-to-do-an-submit-without-a-page-reload-tp20208457p20226751.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]