As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
siteService.createSite()
this.modules.import = new Alfresco.module.SimpleDialog(this.id + "-iv").setOptions({ width: "30em", templateUrl: templateUrl", actionUrl: actionUrl, doSetupFormsValidation:{ fn: doSetupFormsValidation, scope: this }, doBeforeFormSubmit:{ fn: doBeforeFormSubmit, scope: this }, firstFocus: this.id + "-iv-v", doBeforeDialogShow:{ fn: fillDialogFields, scope: this }, onSuccess:{ fn: function DLTB_onNewFolder_callback(response){ Alfresco.logger.debug("- onSuccess", "", ""); Alfresco.util.PopupManager.displayMessage({ text: "Import war erfolgreich." }); that.loadingMessage = false; }, scope: this }, onFailure:{ fn: function doal_docExport_failure(response){ Alfresco.util.PopupManager.displayMessage({ text: "Fehler beim Import." }); that.loadingMessage = false; }, scope: this }, onCancel:{ fn: function doal_docExport_cancel(p_form){ Alfresco.logger.debug("- CANCEL ", "", ""); Alfresco.util.PopupManager.displayMessage({ text: "Import Abgebrochen." }); that.loadingMessage = false; }, scope: this }, destroyOnHide: true });
<bean id="cmis" class="xxx.xxx.CMIS" />
<bean id="Service1" parent="baseJavaScriptExtension" class="xxx.xxx.Service1"> <property name="extensionName"> <value>service1</value> </property> <property name="cmis"> <ref bean="cmis" /> </property> </bean>