Datatemplate.js 832 B

1234567891011121314151617181920212223242526
  1. MWF.xDesktop.requireApp("process.FormDesigner", "Module.Datatemplate", null, false);
  2. MWF.xApplication.portal.PageDesigner.Module.Datatemplate = MWF.PCDatatemplate = new Class({
  3. Extends: MWF.FCDatatemplate,
  4. options: {
  5. "style": "default",
  6. "propertyPath": "../x_component_portal_PageDesigner/Module/Datatemplate/datatemplate.html"
  7. },
  8. initialize: function(form, options){
  9. this.setOptions(options);
  10. this.path = "../x_component_portal_PageDesigner/Module/Datatemplate/";
  11. this.cssPath = "../x_component_portal_PageDesigner/Module/Datatemplate/"+this.options.style+"/css.wcss";
  12. this._loadCss();
  13. this.moduleType = "container";
  14. this.moduleName = "datatemplate";
  15. this.form = form;
  16. },
  17. getModulesTemplateUrl: function(){
  18. return "../x_component_portal_PageDesigner/Module/Datatemplate/modulesTemplate.json";
  19. }
  20. });