10-22-2012 09:54 AM
01-03-2013 07:46 AM
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
});
01-03-2013 09:55 AM
01-15-2013 09:05 AM
<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>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.