I've been trying to figure out why a dialogajaxlink fails. The element is coded inside a dialog, but does not work when the containing dialog is closed and then reopened unless the whole page is refreshed.
Having hacked the js in the browser with some alerts I can see that the click event is triggered and the correct zone and a url are provided. There are no associated messages in the js console. The zone.tapestryZone invocation seems to do nothing though, no request to the server and of course no callback so the dialog never opens. An additional dialog open attempt at the end of the click function does make the dialog container visible although it is empty, as expect since the zone update did not occur. I'm at a loss to understand why the zone update doesn't occur? Any helpful suggestions much appreciated. John (function( $ ) { T5.extendInitializers(function(){ function init(spec) { var element = spec.element; var zoneId = spec.zoneId; var dialogId = spec.dialogId; var url = spec.url; var dialog = $('#' + dialogId), zone = $("#" + zoneId); $("#" + element).click(function(e) { e.preventDefault(); if(zone) alert('click ' + zone.attr('id') + ' ' + url); // ADDED works as expected zone.tapestryZone("update", { url: url, callback: function() { dialog.dialog('open'); } }); dialog.dialog('open'); // ADDED brings up bare dialog container return false; }); } return { dialogAjaxLink : init }; }); }) ( jQuery ); --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com