This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
It sounds like you want to do something similar except he's launching his dialog from a link.
His [OK] button does a saveDocument like you're doing & a partial refresh. Maybe the trick is in his client-side code with the "return true".
// this client side script will run before the partial refresh executes. Here
// we will move the contents of the partial refresh back to the proper place,
// and destroy the dialog so that it can be garbage collected, and the
// registry will not prevent it from getting re-created on the next user-edit.
var dialog = dijit.byId('sampleDialogEditor');
var editRegion = dojo.query('[id$="editDocumentRegion"]', dialog.containerNode)[0];
dojo.style(editRegion, { display: 'none' });
dojo.query('[id$="refreshDocumentRegion"]')[0].appendChild(editRegion);
dialog.hide();
dialog.destroy(false);
// instruct the partial refresh to continue to save the document.
return true;
I haven't tackled this sort of thing yet ... I will need to soon, so hoping I can follow Jeremy's method.
Sorry I couldn't be more help.
Feedback response number JKIN86RVGF created by ~Denise Zenfreetexjip on 06/25/2010