unknown 5 лет назад
Родитель
Сommit
d9ff12e482
53 измененных файлов с 237 добавлено и 106 удалено
  1. 1 0
      o2web/jsdoc.conf.json
  2. 2 1
      o2web/source/o2_core/o2/xScript/CMSEnvironment.js
  3. 7 5
      o2web/source/o2_core/o2/xScript/Environment.js
  4. 2 1
      o2web/source/o2_core/o2/xScript/PageEnvironment.js
  5. 53 52
      o2web/source/o2_core/o2/xScript/ViewEnvironment.js
  6. 19 0
      o2web/source/x_component_cms_Xform/Author.js
  7. 23 1
      o2web/source/x_component_cms_Xform/Comment.js
  8. 24 1
      o2web/source/x_component_cms_Xform/Log.js
  9. 19 0
      o2web/source/x_component_cms_Xform/Reader.js
  10. 1 1
      o2web/source/x_component_process_Xform/$Input.js
  11. 1 1
      o2web/source/x_component_process_Xform/$Module.js
  12. 2 1
      o2web/source/x_component_process_Xform/Actionbar.js
  13. 2 1
      o2web/source/x_component_process_Xform/Address.js
  14. 2 1
      o2web/source/x_component_process_Xform/Attachment.js
  15. 2 1
      o2web/source/x_component_process_Xform/Button.js
  16. 2 1
      o2web/source/x_component_process_Xform/Calendar.js
  17. 2 1
      o2web/source/x_component_process_Xform/Checkbox.js
  18. 2 1
      o2web/source/x_component_process_Xform/Combox.js
  19. 2 1
      o2web/source/x_component_process_Xform/Common.js
  20. 2 1
      o2web/source/x_component_process_Xform/DatagridMobile.js
  21. 2 1
      o2web/source/x_component_process_Xform/DatagridPC.js
  22. 2 1
      o2web/source/x_component_process_Xform/Div.js
  23. 2 1
      o2web/source/x_component_process_Xform/Documenteditor.js
  24. 2 1
      o2web/source/x_component_process_Xform/Form.js
  25. 2 1
      o2web/source/x_component_process_Xform/Htmleditor.js
  26. 2 1
      o2web/source/x_component_process_Xform/Iframe.js
  27. 2 1
      o2web/source/x_component_process_Xform/Image.js
  28. 2 1
      o2web/source/x_component_process_Xform/ImageClipper.js
  29. 2 1
      o2web/source/x_component_process_Xform/Label.js
  30. 2 1
      o2web/source/x_component_process_Xform/Log.js
  31. 2 1
      o2web/source/x_component_process_Xform/Monitor.js
  32. 2 1
      o2web/source/x_component_process_Xform/Number.js
  33. 2 1
      o2web/source/x_component_process_Xform/Office.js
  34. 2 1
      o2web/source/x_component_process_Xform/Opinion.js
  35. 2 1
      o2web/source/x_component_process_Xform/Org.js
  36. 2 1
      o2web/source/x_component_process_Xform/Radio.js
  37. 2 1
      o2web/source/x_component_process_Xform/Select.js
  38. 2 1
      o2web/source/x_component_process_Xform/Sidebar.js
  39. 2 1
      o2web/source/x_component_process_Xform/Source.js
  40. 2 1
      o2web/source/x_component_process_Xform/SourceText.js
  41. 2 1
      o2web/source/x_component_process_Xform/Stat.js
  42. 2 1
      o2web/source/x_component_process_Xform/Statement.js
  43. 2 1
      o2web/source/x_component_process_Xform/StatementSelector.js
  44. 2 1
      o2web/source/x_component_process_Xform/SubSource.js
  45. 2 1
      o2web/source/x_component_process_Xform/Subform.js
  46. 2 1
      o2web/source/x_component_process_Xform/Tab.js
  47. 3 2
      o2web/source/x_component_process_Xform/Table.js
  48. 2 1
      o2web/source/x_component_process_Xform/Textarea.js
  49. 2 1
      o2web/source/x_component_process_Xform/Textfield.js
  50. 2 1
      o2web/source/x_component_process_Xform/Tree.js
  51. 2 1
      o2web/source/x_component_process_Xform/View.js
  52. 2 1
      o2web/source/x_component_process_Xform/ViewSelector.js
  53. 2 1
      o2web/source/x_component_process_Xform/Widget.js

+ 1 - 0
o2web/jsdoc.conf.json

@@ -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)?$", //抽取的源文件名称正则表达式

+ 2 - 1
o2web/source/o2_core/o2/xScript/CMSEnvironment.js

@@ -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;

+ 7 - 5
o2web/source/o2_core/o2/xScript/Environment.js

@@ -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;

+ 2 - 1
o2web/source/o2_core/o2/xScript/PageEnvironment.js

@@ -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;

+ 53 - 52
o2web/source/o2_core/o2/xScript/ViewEnvironment.js

@@ -158,7 +158,6 @@
 
 /**在本API的this.org模块中返回的群组数据
  *  @typedef {Object} GroupData
- *  @category org
  *  @example
  * {
  *   "name": "工作汇报读者", //群组名称
@@ -377,7 +376,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
      * this.Dict是一个工具类,如果您在流程、门户中创建了数据字典,可以使用this.Dict类对数据进行增删改查操作。<br/>
      * 通过这种方式定义方法,在不同的应用使用相同的方法名称也不会造成冲突。
      * @module Dict
-     * @ordernumber 120
+     * @o2ordernumber 120
      * @param {(String|Object)} optionsOrName 数据字典标识字符串或者是对象。
      * <div>如果对本应用的数据字典操作,将optionsOrName设置为string。</div>
      * <pre><code class='language-js'>
@@ -866,7 +865,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
     /**
      * 你可以通过this.org获取组织中的人员、人员属性、组织、组织属性、身份、群组和角色。
      * @module org
-     * @ordernumber 100
+     * @o2ordernumber 100
      * @example
      * //您可以在流程表单、内容管理表单和门户页面中,通过this来获取当前实例的org对象,如下:
      * var org = this.org;
@@ -877,7 +876,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据身份标识获取对应的身份对象或数组
          * @method getIdentity
-         * @membercategory identity
+         * @o2membercategory identity
          * @methodOf module:org
          * @static
          * @param {IdentityFlag|IdentityFlag[]} name - 身份的distinguishedName、name、id、unique属性值,身份对象,或上述属性值和对象的数组。
@@ -918,7 +917,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据人员标识获取对应的身份对象数组。
          * @method listIdentityWithPerson
-         * @membercategory identity
+         * @o2membercategory identity
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -959,7 +958,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据组织标识获取对应的身份对象数组:identity对象数组。
          * @method listIdentityWithUnit
-         * @membercategory identity
+         * @o2membercategory identity
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1022,7 +1021,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据组织标识获取对应的组织:unit对象或数组
          * @method getUnit
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1064,7 +1063,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据组织标识获取下级组织的对象数组:unit对象数组。
          * @method listSubUnit
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1112,7 +1111,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据组织标识批量获取上级组织的对象数组:unit对象数组。
          * @method listSupUnit
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1178,7 +1177,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据个人身份获取组织:unit对象或数组。
          * @method getUnitByIdentity
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {IdentityFlag} name - 身份的distinguishedName、name、id、unique属性值,身份对象。
@@ -1274,7 +1273,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 批量查询身份所在的组织,并递归查找其上级组织对象.
          * @method listAllSupUnitWithIdentity
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {IdentityFlag|IdentityFlag[]} name - 身份的distinguishedName、name、id、unique属性值,身份对象,或上述属性值和对象的数组。
@@ -1314,7 +1313,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据个人标识批量获取组织对象成员:Unit对象数组。
          * @method listUnitWithPerson
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1354,7 +1353,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据个人标识批量查询所在组织及所有上级组织:Unit对象数组。
          * @method listAllSupUnitWithPerson
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1394,7 +1393,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据组织属性,获取所有符合的组织。
          * @method listUnitWithAttribute
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {String} attributeName 组织属性名称。
@@ -1435,7 +1434,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据组织职务,获取所有符合的组织。
          * @method listUnitWithDuty
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {String} dutyName 组织职务名称。
@@ -1476,7 +1475,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 列式所有顶层组织。
          * @method listTopUnit
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {(Boolean|Function)} [asyncOrCallback] 当参数为boolean,表示是否异步执行,默认为false。当参数为function,表示回调方法。
@@ -1516,7 +1515,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据人员标识获取对应的人员对象或数组:person对象或数组
          * @method getPerson
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1562,7 +1561,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据人员标识获取下级人员的对象数组:person对象数组。该上下级关系被人员的汇报对象值(superior)决定。
          * @method listSubPerson
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1610,7 +1609,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          *根据人员标识获取上级人员的对象数组:person对象数组。该上下级关系被人员的汇报对象值(superior)决定。
          * @method listSupPerson
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1656,7 +1655,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据群组标识获取人员对象成员:person对象数组。
          * @method listPersonWithGroup
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {GroupFlag|GroupFlag[]} name - 群组的distinguishedName、name、id、unique属性值,群组对象,或上述属性值和对象的数组。
@@ -1697,7 +1696,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据角色标识获取人员对象数组:person对象数组。
          * @method listPersonWithRole
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {RoleFlag|RoleFlag[]} name - 角色的distinguishedName、name、id、unique属性值,角色对象,或上述属性值和对象的数组。
@@ -1738,7 +1737,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据身份标识获取人员对象成员:person对象数组。
          * @method listPersonWithIdentity
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {IdentityFlag|IdentityFlag[]} name - 身份的distinguishedName、name、id、unique属性值,身份对象,或上述属性值和对象的数组。
@@ -1794,7 +1793,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据组织标识获取人员对象成员:person对象数组。
          * @method listPersonWithUnit
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1845,7 +1844,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据人员属性名称和属性值获取人员对象成员:person对象数组。
          * @method listPersonWithAttribute
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {String} name 人员属性名称。
@@ -1904,7 +1903,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据职务名称和组织名称获取身份。
          * @method getDuty
-         * @membercategory duty
+         * @o2membercategory duty
          * @methodOf module:org
          * @static
          * @param {String} dutyName 组织职务名称。
@@ -1946,7 +1945,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 批量获取身份的所有职务名称。
          * @method listDutyNameWithIdentity
-         * @membercategory duty
+         * @o2membercategory duty
          * @methodOf module:org
          * @static
          * @param {IdentityFlag|IdentityFlag[]} identity - 身份的distinguishedName、name、id、unique属性值,身份对象,或上述属性值和对象的数组。
@@ -1986,7 +1985,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 批量获取组织的所有职务名称。
          * @method listDutyNameWithUnit
-         * @membercategory duty
+         * @o2membercategory duty
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} unit - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -2026,7 +2025,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 批量获取组织的所有职务。
          * @method listUnitAllDuty
-         * @membercategory duty
+         * @o2membercategory duty
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} unit - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -2087,7 +2086,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据群组标识获取对应的群组对象或数组:group对象或数组
          * @method getGroup
-         * @membercategory group
+         * @o2membercategory group
          * @methodOf module:org
          * @static
          * @param {GroupFlag|GroupFlag[]} name - 群组的distinguishedName、name、id、unique属性值,群组对象,或上述属性值和对象的数组。
@@ -2135,7 +2134,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据群组标识获取下级群组的对象数组:group对象数组。
          * @method listSubGroup
-         * @membercategory group
+         * @o2membercategory group
          * @methodOf module:org
          * @static
          * @param {GroupFlag|GroupFlag[]} name - 群组的distinguishedName、name、id、unique属性值,群组对象,或上述属性值和对象的数组。
@@ -2195,7 +2194,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据群组标识获取上级群组的对象数组:group对象数组。
          * @method listSupGroup
-         * @membercategory group
+         * @o2membercategory group
          * @methodOf module:org
          * @static
          * @param {GroupFlag|GroupFlag[]} name - 群组的distinguishedName、name、id、unique属性值,群组对象,或上述属性值和对象的数组。
@@ -2249,7 +2248,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据人员标识获取所有的群组对象数组。如果群组具有群组(group)成员,且群组成员中包含该人员,那么该群组也被返回。
          * @method listGroupWithPerson
-         * @membercategory group
+         * @o2membercategory group
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -2295,7 +2294,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据角色标识获取对应的角色对象或数组。
          * @method getRole
-         * @membercategory role
+         * @o2membercategory role
          * @methodOf module:org
          * @static
          * @param {RoleFlag|RoleFlag[]} name - 角色的distinguishedName、name、id、unique属性值,角色对象;或上述属性值和对象的数组。
@@ -2341,7 +2340,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据人员标识获取所有的角色对象数组。如果角色具有群组(group)成员,且群组中包含该人员,那么该角色也被返回。
          * @method listRoleWithPerson
-         * @membercategory role
+         * @o2membercategory role
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -2387,7 +2386,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 人员是否拥有角色。
          * @method personHasRole
-         * @membercategory role
+         * @o2membercategory role
          * @methodOf module:org
          * @static
          * @param {PersonFlag} name - 人员的distinguishedName、name、id、unique属性值,人员对象。
@@ -2434,7 +2433,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 群组是否拥有角色。
          * @method groupHasRole
-         * @membercategory role
+         * @o2membercategory role
          * @methodOf module:org
          * @static
          * @param {GroupFlag} name - 群组的distinguishedName、name、id、unique属性值,群组对象。
@@ -2483,7 +2482,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 添加人员属性值(在属性中添加values值,如果没有此属性,则创建一个)
          * @method appendPersonAttribute
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag} person - 人员的distinguishedName、name、id、unique属性值,人员对象。
@@ -2518,7 +2517,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 设置人员属性值(将属性值修改为values,如果没有此属性,则创建一个)
          * @method setPersonAttribute
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag} person - 人员的distinguishedName、name、id、unique属性值,人员对象。
@@ -2553,7 +2552,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据人员和属性名称获取属性值数组。
          * @method getPersonAttribute
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag} person - 人员的distinguishedName、name、id、unique属性值,人员对象。
@@ -2596,7 +2595,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          列出人员所有属性的名称数组。
          * @method listPersonAttributeName
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -2637,7 +2636,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          列出人员的所有属性对象数组。
          * @method listPersonAllAttribute
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -2686,7 +2685,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 添加组织属性值(在属性中添加values值,如果没有此属性,则创建一个)
          * @method appendUnitAttribute
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag} unit - 组织的distinguishedName、name、id、unique属性值,组织对象。
@@ -2731,7 +2730,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 设置组织属性值(将属性值修改为values,如果没有此属性,则创建一个)
          * @method setUnitAttribute
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag} unit - 组织的distinguishedName、name、id、unique属性值,组织对象。
@@ -2775,7 +2774,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据组织标识和属性名称获取对应属性值。
          * @method getUnitAttribute
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag} unit - 组织的distinguishedName、name、id、unique属性值,组织对象。
@@ -2818,7 +2817,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          列出组织所有属性的名称数组。
          * @method listUnitAttributeName
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -2859,7 +2858,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          列出组织的所有属性对象数组。
          * @method listUnitAllAttribute
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -2948,7 +2947,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
     /**
      * 你可以通过view对象,获取视图数据或选择视图数据。<br/>
      * @module view
-     * @ordernumber 70
+     * @o2ordernumber 70
      * @example
      * //您可以在流程表单、内容管理表单或门户页面中,通过this来获取view对象,如下:
      * var view = this.view;
@@ -3188,7 +3187,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
     /**
      * 你可以通过statement对象,获取执行查询语句或者对查询结果进行选择。<br/>
      * @module statement
-     * @ordernumber 90
+     * @o2ordernumber 90
      * @example
      * //您可以在流程表单、内容管理表单、门户页面或视图中,通过this来获取statement对象,如下:
      * var statement = this.statement;
@@ -3551,7 +3550,8 @@ MWF.xScript.ViewEnvironment = function (ev) {
      * 当查询设计中使用了select语句,并且配置了视图,可以在查询视图中使用本章API。<br/>
      * queryStatement对象在查询视图中可用。它的很多方法与queryView类似。<b>(仅前端脚本可用)</b><br/>
      * @module queryStatement
-     * @ordernumber 80
+     * @o2range {QueryStatement}
+     * @o2ordernumber 80
      * @borrows module:queryView.confirm as confirm
      * @borrows module:queryView.alert as alert
      * @borrows module:queryView.notice as notice
@@ -3706,7 +3706,8 @@ MWF.xScript.ViewEnvironment = function (ev) {
     /**
      * queryView对象可在视图中可用。它的很多方法与form类似。<b>(仅前端脚本可用)</b><br/>
      * @module queryView
-     * @ordernumber 60
+     * @o2range {QueryView}
+     * @o2ordernumber 60
      * @example
      * //您可以在视图中,通过this来获取queryView对象,如下:
      * var queryView = this.queryView;
@@ -4443,7 +4444,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
     /**
      * 在前端脚本中,可以通过this.session.user来获取当前用户信息。<br/>
      * @module session
-     * @ordernumber 110
+     * @o2ordernumber 110
      * @example
      * //获取当前用户信息
      * var user = this.session.user
@@ -4511,7 +4512,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
      * 本文档说明如何在前台脚本中使用Actions调用平台的RESTful服务。<br/>
      * 通过访问以下地址来查询服务列表:http://server:20030/x_program_center/jest/list.html
      * @module Actions
-     * @ordernumber 130
+     * @o2ordernumber 130
      * @example
      * //获取Actions
      * this.Actions

+ 19 - 0
o2web/source/x_component_cms_Xform/Author.js

@@ -1,4 +1,23 @@
 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"

+ 23 - 1
o2web/source/x_component_cms_Xform/Comment.js

@@ -1,6 +1,20 @@
 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,

+ 24 - 1
o2web/source/x_component_cms_Xform/Log.js

@@ -1,10 +1,33 @@
 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,

+ 19 - 0
o2web/source/x_component_cms_Xform/Reader.js

@@ -1,4 +1,23 @@
 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"

+ 1 - 1
o2web/source/x_component_process_Xform/$Input.js

@@ -1,7 +1,7 @@
 MWF.xDesktop.requireApp("process.Xform", "$Module", null, false);
 /** @class $Input 组件类,此类为所有输入组件的父类
  * @hideconstructor
- * @category FormComponents
+ * @o2category FormComponents
 * @extends MWF.xApplication.process.Xform.$Module
  * @abstract
  */

+ 1 - 1
o2web/source/x_component_process_Xform/$Module.js

@@ -1,7 +1,7 @@
 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(

+ 2 - 1
o2web/source/x_component_process_Xform/Actionbar.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Address.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Attachment.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Button.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/Calendar.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Checkbox.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Combox.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Common.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/DatagridMobile.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/DatagridPC.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Div.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/Documenteditor.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Form.js

@@ -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:

+ 2 - 1
o2web/source/x_component_process_Xform/Htmleditor.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Iframe.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/Image.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/ImageClipper.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Label.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Log.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Monitor.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Number.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/Office.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Opinion.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Org.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Radio.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Select.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Sidebar.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Source.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/SourceText.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/Stat.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Statement.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/StatementSelector.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/SubSource.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Subform.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/Tab.js

@@ -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(

+ 3 - 2
o2web/source/x_component_process_Xform/Table.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/Textarea.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/Textfield.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/Tree.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/View.js

@@ -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(

+ 2 - 1
o2web/source/x_component_process_Xform/ViewSelector.js

@@ -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({

+ 2 - 1
o2web/source/x_component_process_Xform/Widget.js

@@ -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(