提交 e723c3bb 编写于 作者: U unknown

jsodc

上级 b3afd105
......@@ -18,6 +18,7 @@
"source": {
"include": [ //需要抽取文档的源文件夹
"./o2web/source/x_component_process_Xform",
"./o2web/source/x_component_cms_Xform",
"./o2web/source/o2_core/o2/xScript"
],
"includePattern": ".+\\.js(doc|x)?$", //抽取的源文件名称正则表达式
......
......@@ -64,7 +64,8 @@ MWF.xScript.CMSEnvironment = function(ev){
/**
* 你可以通过documentContext获取内容管理实例相关的对象数据。
* @module documentContext
* @ordernumber 30
* @o2range {CMS}
* @o2ordernumber 30
* @example
* //您可以在内容管理表单中,通过this来获取当前实例的documentContext对象,如下:
* var context = this.documentContext;
......
......@@ -252,7 +252,7 @@ MWF.xScript.Environment = function(ev){
* 这些数据一般情况下是通过您创建的表单收集而来的,也可以通过脚本创建和增删改查。<br/>
* data对象基本上是一个JSON对象,您可以用访问JSON对象的方法访问他对象的所有数据,但增加和删除数据时略有不同。
* @module data
* @ordernumber 10
* @o2ordernumber 10
* @example
* //您可以在表单或流程的各个嵌入脚本中,通过this来获取当前实例的业务数据,如下:
* var data = this.data;
......@@ -400,7 +400,8 @@ MWF.xScript.Environment = function(ev){
/**
* 你可以通过workContext获取和流程相关的流程实例对象数据。
* @module workContext
* @ordernumber 20
* @o2range {Process}
* @o2ordernumber 20
* @example
* //您可以在表单或流程的各个嵌入脚本中,通过this来获取当前流程实例数据,如下:
* var context = this.workContext;
......@@ -1991,7 +1992,7 @@ MWF.xScript.Environment = function(ev){
* this.include是一个方法,当您在流程、门户或者内容管理中创建了脚本配置,可以使用this.include()用来引用脚本配置。<br/>
* <b>(建议使用表单中的预加载脚本,需要判断加载的时候才使用本方法加载脚本,此时建议异步加载有助于表单加载速度。)</b><br/>
* @module include
* @ordernumber 140
* @o2ordernumber 140
* @param {(String|Object|String[]|Object[])} optionsOrName 可以是脚本标识字符串(数组)或者是对象(数组)。
* <pre><code class='language-js'>
* //如果需要引用本应用的脚本配置,将options设置为String或者String Array。
......@@ -2154,7 +2155,7 @@ MWF.xScript.Environment = function(ev){
* this.define是一个方法,您可以在流程、门户或者内容管理中创建脚本配置,在脚本配置中您可以通过this.define()来定义自己的方法。<br/>
* 通过这种方式定义方法,在不同的应用使用相同的方法名称也不会造成冲突。
* @module define
* @ordernumber 150
* @o2ordernumber 150
* @param {(String)} name 定义的方法名称。
* @param {Function} fun 定义的方法
* @param {Boolean} [overwrite] 定义的方法是否能被覆盖重写。默认值为true。
......@@ -2225,7 +2226,8 @@ MWF.xScript.Environment = function(ev){
/**
* form对象可在流程表单或内容管理表单中可用。(仅前端脚本可用)。
* @module form
* @ordernumber 40
* @o2range {Process|CMS}
* @o2ordernumber 40
* @example
* //您可以在流程表单和内容管理的前端脚本中,通过this来获取form对象,如下:
* var form = this.form;
......
......@@ -1427,7 +1427,8 @@ MWF.xScript.PageEnvironment = function (ev) {
/**
* page对象可在门户页面中可用。它的很多方法与form类似。<b>(仅前端脚本可用)</b><br/>
* @module page
* @ordernumber 50
* @o2range {Portal}
* @o2ordernumber 50
* @example
* //您可以在门户表单中,通过this来获取page对象,如下:
* var page = this.page;
......
MWF.xDesktop.requireApp("cms.Xform", "Org", null, false);
/** @class Author 作者组件。
* @example
* //可以在脚本中获取该组件
* //方法1:
* var field = this.form.get("fieldId"); //获取组件对象
* //方法2
* var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等
*
* var data = field.getData(); //获取值
* field.setData("字符串值"); //设置值
* field.hide(); //隐藏字段
* var id = field.json.id; //获取字段标识
* var flag = field.isEmpty(); //字段是否为空
* field.resetData(); //重置字段的值为默认值或置空
* @extends MWF.xApplication.process.Xform.Org
* @o2category FormComponents
* @o2range {CMS}
* @hideconstructor
*/
MWF.xApplication.cms.Xform.Author = MWF.CMSAuthor = new Class({
Extends: MWF.CMSOrg,
iconStyle: "authorIcon"
......
MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
MWF.xDesktop.requireApp("cms.Xform", "widget.Comment", null, false);
MWF.xApplication.cms.Xform.Comment = MWF.CMSComment = new Class({
/** @class Comment 评论组件。
* @example
* //可以在脚本中获取该组件
* //方法1:
* var datagrid = this.form.get("name"); //获取组件
* //方法2
* var datagrid = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @o2category FormComponents
* @o2range {CMS}
* @hideconstructor
*/
MWF.xApplication.cms.Xform.Comment = MWF.CMSComment = new Class(
/** @lends MWF.xApplication.process.Xform.Comment# */
{
Extends: MWF.APP$Module,
_loadUserInterface: function(){
this.node.empty();
......@@ -21,6 +35,14 @@ MWF.xApplication.cms.Xform.Comment = MWF.CMSComment = new Class({
}
}
/**
* @summary 评论组件使用this.comment实现功能
* @member {MWF.xApplication.cms.Xform.widget.Comment}
* @example
* //可以在脚本中获取该组件
* var field = this.form.get("fieldId"); //获取组件对象
* var items = field.comment.editor; //获取评论的编辑器对象
*/
this.comment = new MWF.xApplication.cms.Xform.widget.Comment( this.form.app, this.node, {
"documentId" : this.form.businessData.document.id,
"countPerPage" : this.json.countPerPage || 10,
......
MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
MWF.xDesktop.requireApp("cms.Xform", "widget.Log", null, false);
MWF.xApplication.cms.Xform.Log = MWF.CMSLog = new Class({
/** @class CMSLog 文档查看日志组件。
* @alias CMSLog
* @example
* //可以在脚本中获取该组件
* //方法1:
* var datagrid = this.form.get("name"); //获取组件
* //方法2
* var datagrid = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @o2category FormComponents
* @o2range {CMS}
* @hideconstructor
*/
MWF.xApplication.cms.Xform.Log = MWF.CMSLog = new Class(
/** @lends MWF.xApplication.cms.Xform.Log# */
{
Extends: MWF.APP$Module,
_loadUserInterface: function(){
this.node.empty();
this.node.setStyle("-webkit-user-select", "text");
/**
* @summary log组件使用this.log实现功能
* @member {MWF.xApplication.cms.Xform.widget.Log}
* @example
* //可以在脚本中获取该组件
* var field = this.form.get("fieldId"); //获取组件对象
* var items = field.log.items; //获取日志的行对象
*/
this.log = new MWF.xApplication.cms.Xform.widget.Log( this.form.app, this.node, {
"documentId" : this.form.businessData.document.id,
"mode" : this.json.mode,
......
MWF.xDesktop.requireApp("cms.Xform", "Org", null, false);
/** @class Reader 读者组件。
* @example
* //可以在脚本中获取该组件
* //方法1:
* var field = this.form.get("fieldId"); //获取组件对象
* //方法2
* var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等
*
* var data = field.getData(); //获取值
* field.setData("字符串值"); //设置值
* field.hide(); //隐藏字段
* var id = field.json.id; //获取字段标识
* var flag = field.isEmpty(); //字段是否为空
* field.resetData(); //重置字段的值为默认值或置空
* @extends MWF.xApplication.process.Xform.Org
* @o2category FormComponents
* @o2range {CMS}
* @hideconstructor
*/
MWF.xApplication.cms.Xform.Reader = MWF.CMSReader = new Class({
Extends: MWF.CMSOrg,
iconStyle: "readerIcon"
......
MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
/** @class $Input 组件类,此类为所有输入组件的父类
* @hideconstructor
* @category FormComponents
* @o2category FormComponents
* @extends MWF.xApplication.process.Xform.$Module
* @abstract
*/
......
MWF.require("MWF.widget.Common", null, false);
/** @classdesc $Module 组件类,此类为所有组件的父类。
* @class
* @category FormComponents
* @o2category FormComponents
* @hideconstructor
* */
MWF.xApplication.process.Xform.$Module = MWF.APP$Module = new Class(
......
......@@ -10,7 +10,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var actionbar = this.target; //在操作条和操作本身的事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Actionbar = MWF.APPActionbar = new Class(
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "Combox", null, false);
* //方法2
* var address = this.target; //组件本身的事件和脚本中获取
* @extends MWF.xApplication.process.Xform.Combox
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Address = MWF.APPAddress = new Class(
......
......@@ -1076,7 +1076,8 @@ MWF.xApplication.process.Xform.AttachmentController = new Class({
* //方法2
* var attachment = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Attachment = MWF.APPAttachment = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var button = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Button = MWF.APPButton = new Class({
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false);
* //方法2
* var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等
* @extends MWF.xApplication.process.Xform.$Input
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Calendar = MWF.APPCalendar = new Class(
......
......@@ -8,7 +8,8 @@ MWF.require("MWF.widget.UUID", null, false);
* //方法2
* var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等
* @extends MWF.xApplication.process.Xform.$Input
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Checkbox = MWF.APPCheckbox = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false);
* //方法2
* var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等
* @extends MWF.xApplication.process.Xform.$Input
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Combox = MWF.APPCombox = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var el = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Common = MWF.APPCommon = new Class({
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var datagrid = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.DatagridMobile = new Class(
......
......@@ -74,7 +74,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var datagrid = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.DatagridPC = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var div = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Div = MWF.APPDiv = new Class({
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var documenteditor = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Class(
......
......@@ -6,7 +6,8 @@ MWF.xDesktop.requireApp("process.Xform", "lp." + MWF.language, null, false);
//MWF.xDesktop.requireApp("process.Xform", "Package", null, false);
/** @class Form 流程表单。
* @category FormComponents
* @o2category FormComponents
* @o2range {Process}
* @example
* //可以在脚本中获取表单
* //方法1:
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var htmlEditor = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Htmleditor = MWF.APPHtmleditor = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var iframe = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Iframe = MWF.APPIframe = new Class({
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var img = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Image = MWF.APPImage = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var imageClipper = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.ImageClipper = MWF.APPImageClipper = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var label = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Label = MWF.APPLabel = new Class(
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var log = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Log = MWF.APPLog = new Class(
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var attachment = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Monitor = MWF.APPMonitor = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "Textfield", null, false);
* //方法2
* var field = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.Textfield
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Number = MWF.APPNumber = new Class({
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var attachment = this.target; //在组件事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Office = MWF.APPOffice = new Class(
......
......@@ -15,7 +15,8 @@ MWF.xDesktop.requireApp("process.Work", "lp."+o2.language, null, false);
* var flag = field.isEmpty(); //字段是否为空
* field.resetData(); //重置字段的值为默认值或置空
* @extends MWF.xApplication.process.Xform.$Input
* @category FormComponents
* @o2category FormComponents
* @o2range {Process}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Opinion = MWF.APPOpinion = new Class(
......
......@@ -16,7 +16,8 @@ MWF.require("MWF.widget.O2Identity", null, false);
* var flag = field.isEmpty(); //字段是否为空
* field.resetData(); //重置字段的值为默认值或置空
* @extends MWF.xApplication.process.Xform.$Input
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class(
......
......@@ -15,7 +15,8 @@ MWF.require("MWF.widget.UUID", null, false);
* var flag = field.isEmpty(); //字段是否为空
* field.resetData(); //重置字段的值为默认值或置空
* @extends MWF.xApplication.process.Xform.$Input
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Radio = MWF.APPRadio = new Class(
......
......@@ -14,7 +14,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false);
* var flag = field.isEmpty(); //字段是否为空
* field.resetData(); //重置字段的值为默认值或置空
* @extends MWF.xApplication.process.Xform.$Input
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Select = MWF.APPSelect = new Class(
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var sidebar = this.target; //在侧边操作条和操作本身的事件脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Sidebar = MWF.APPSidebar = new Class(
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "Div", null, false);
* //方法2
* var source = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.Div
* @category FormComponents
* @o2category FormComponents
* @o2range {Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Source = MWF.APPSource = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var sourceText = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.SourceText = MWF.APPSourceText = new Class({
......
......@@ -9,7 +9,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var stat = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Stat = MWF.APPStat = new Class(
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var statement = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Statement = MWF.APPStatement = new Class(
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "ViewSelector", null, false);
* //方法2
* var statementSelector = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.ViewSelector
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.StatementSelector = MWF.APPStatementSelector = new Class({
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var subSource = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.SubSource = MWF.APPSubSource = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var subform = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Subform = MWF.APPSubform = new Class(
......
......@@ -8,7 +8,8 @@ MWF.require("MWF.widget.Tab", null, false);
* //方法2
* var tab = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Tab = MWF.APPTab = new Class(
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var table = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Table = MWF.APPTable = new Class(
......@@ -109,7 +110,7 @@ MWF.xApplication.process.Xform.Table = MWF.APPTable = new Class(
* //方法2
* var td = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @hideconstructor
*/
MWF.xApplication.process.Xform.Table$Td = MWF.APPTable$Td = new Class({
......
......@@ -14,7 +14,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false);
* var flag = field.isEmpty(); //字段是否为空
* field.resetData(); //重置字段的值为默认值或置空
* @extends MWF.xApplication.process.Xform.$Input
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Textarea = MWF.APPTextarea = new Class({
......
......@@ -14,7 +14,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false);
* var flag = field.isEmpty(); //字段是否为空
* field.resetData(); //重置字段的值为默认值或置空
* @extends MWF.xApplication.process.Xform.$Input
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Textfield = MWF.APPTextfield = new Class({
......
......@@ -35,7 +35,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* var datagrid = this.target; //在组件事件脚本中获取
* @see {@link TreeData|树组件数据结构}
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Tree = MWF.APPTree = new Class(
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var view = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS|Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.View = MWF.APPView = new Class(
......
......@@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "Button", null, false);
* //方法2
* var sourceText = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.Button
* @category FormComponents
* @o2category FormComponents
* @o2range {Process|CMS}
* @hideconstructor
*/
MWF.xApplication.process.Xform.ViewSelector = MWF.APPViewSelector = new Class({
......
......@@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
* //方法2
* var widget = this.target; //在组件本身的脚本中获取
* @extends MWF.xApplication.process.Xform.$Module
* @category FormComponents
* @o2category FormComponents
* @o2range {Portal}
* @hideconstructor
*/
MWF.xApplication.process.Xform.Widget = MWF.APPWidget = new Class(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册