Solution: // stop the event e.stop();
//store the href so I can post it myself if yes is clicked var href = jQuery('#'+this.elementId).attr("href"); // store the zone so we can update that later //zone id is passed into the mixin as a param var zoneManager = Tapestry.findZoneManagerForZone(this.zoneId); // my custom method to create a jQuery dialog box createConfirmationDialog(this.message, { yesLabel: 'Delete it', noLabel: 'Cancel', yesHandler: doDelete // this method will post the form to href stored earlier on 'yes' }); // doDelete handler var doDelete = function() { new Ajax.Request(href, { method: 'post', onFailure: function(t) { alert('Error communication with the server: ' + t.responseText.stripTags()); }, onException: function(t, exception) { alert('Error communication with the server: ' + exception.message); }, onSuccess: function(t) { // use the reponse to update the zone. zoneManager.processReply(t.responseJSON); }.bind(this) }); }; -- View this message in context: http://tapestry.1045711.n5.nabble.com/problems-getting-rid-of-the-JS-confirm-box-from-confirm-mixin-tp5444911p5455340.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org