Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- doSetupFormsValidation:
- {
- fn: function getLatestDoc_doSetupForm_callback(form)
- {
- form.addValidation(this.configDialog.id + "-title", Alfresco.forms.validation.mandatory, null, "keyup");
- form.setShowSubmitStateDynamically(true, false);
- Dom.get(this.configDialog.id + "-title").value = this.options.title;
- Dom.get(this.configDialog.id + "-filterPath").value = this.options.filterPath;
- Dom.get(this.configDialog.id + "-filterPathView").innerHTML = this.options.filterPath.substr(this.options.filterPath.indexOf("|") + 1);
- this.configDialog.widgets.filterPathView = Dom.get(this.configDialog.id + "-filterPathView"); // Path
- this.configDialog.widgets.filterPathField = Dom.get(this.configDialog.id + "-filterPath"); // NodeRef|Path
- this.configDialog.widgets.selectFilterPathButton = Alfresco.util.createYUIButton(this.configDialog, "selectFilterPath-button", this.onSelectFilterPath);
- this.configDialog.widgets.clearFilterPathButton = Alfresco.util.createYUIButton(this.configDialog, "clearFilterPath-button", this.onClearFilterPath);
- },
- scope: this
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement