clientFrame.setEnabled( true );
appWindow.setEnabled( true );
if (( closeButtonID != CANCEL_CLICKED ) && saveOnClose ) {
saveBoundComponentValues();
XPageManager pm = XProjectManager.getPageManager();
int numTargets = pm.getNumTargets();
// Skip any toolbars
int targetIdx = 0;
Object t = pm.getTarget( targetIdx );
if ( !( t instanceof XContentHolder ))
targetIdx++;
for ( ; targetIdx < numTargets; targetIdx++ ) {
XContentHolder targetArea = (XContentHolder)pm.getTarget( targetIdx );
PageSupport currentPage = pm.getCurrentPage( targetArea.getName());
if ( currentPage != null )
currentPage.updateBoundComponentValues();
}
}
setStatus( XPage.LOADED );