exec.setAttribute(COMPOSER_CLONE+idcode, composerClone);
//cannot call doAfterCompose directly because the clone
//component might not be attach to Page yet
comp.addEventListener(ON_CLONE_DO_AFTER_COMPOSE, new CloneDoAfterCompose());
Events.postEvent(new Event(ON_CLONE_DO_AFTER_COMPOSE, comp, composerClone));
}
return composerClone;
} catch (Exception ex) {
throw UiException.Aide.wrap(ex);
}