Hi. Seems like the tacos framework should call updateObject.responseComplete
after processing the scripts embedded in the incoming <ajax-response>
element. That way, the incoming fragment can actually redefine the
responseComplete method of the update object. Any reason not to change this?
FYI. Here's some pseudocode for what's happening during a defaultLinkAction
call:
defaultLinkAction(){
loadDojoResponse() {
processScripts("preprocess" and "jsincludes" element nodes);
processAjaxResponse() {
for each response node {
updateObject.beforeAjaxUpdate();
loadElement() {
weave the new nodes into the DOM
updateObject.ajaxUpdate();
}
}
processScripts("postprocess" element nodes);
updateObject.responseComplete();
}
}
processScripts("ajax-response" element nodes);
}
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 3/3/2006