^1640742914778
@
sname
FormFunctions
slabel
FormFunctions
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
  @/@Load
  sname
  LoadFormFromUrl
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  FormPanel
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>表单的装载，通过远程URL填充表单。</p>
<p>可以指定装载表单数据的URL地址，也可以指定一个数据对象使用默认的地址从数据对象中装载数据。</p>
<p>服务器返回的应该是json数据，ContentType是text/plain，格式是{succes:true/false, msg:'提示信息', data:{表单数据}}。</p>
#$@text#$@
  sth_createIndex
  true
  sth_registThing
  child|xworker.extjs.Function
  sth_mark
  true
  sth_font
  "|10|1|#000000"
  sth_nodeColor
  DARK_RED
  sid
  Load
    @/@Load/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@Load/@actions/@toJavaScriptCode1
      sname
      toJavaScriptCode
      schangeSelf
      true
      sselfVarName
      data
      sinterpretationType
      Self
      svarScope
      Local
      sdescriptors
      xworker.lang.actions.Actions/@ActionGroup
      sid
      toJavaScriptCode1
        @/@Load/@actions/@toJavaScriptCode1/@actions
        sname
        actions
        sdescriptors
        xworker.lang.actions.Begin/@actions
        sid
        actions
          @/@Load/@actions/@toJavaScriptCode1/@actions/@toJavaScriptCode
          sname
          toTemplate
          stype
          freemarker
          svarScope
          Local
          stemplateEncoding
          UTF-8
          soutputEncoding
          UTF-8
          StemplateCode
#$@text#$@
<!-- 表单变量 -->
<#if !data.formId?exists || data.formId == "">
alert("formId not setted, path=${data.metadata.path}");
<#else>
<#if !data.getBoolean("useVar")>
var ${data.formVarName?if_exists} = Ext.getCmp(${data.formId?if_exists});
</#if>
</#if>
<!-- 装载表单 -->
${data.formVarName?if_exists}.getForm().reset();
<#if data.url?exists && data.url != "">
${data.formVarName?if_exists}.getForm().load({url:${data.url}, waitMsg: ${data.waitMsg?default("'正在加载，请稍后...'")}, params:${data.params?default("{}")}});
<#else>
alert("url is null, path=${data.metadata.path}");
</#if>
#$@text#$@
          sinterpretationType
          Self
          sattributeTemplate
          false
          schildsAttributeTemplate
          false
          sisSynchronized
          false
          sthrowException
          true
          suseOtherAction
          false
          screateLocalVarScope
          false
          ssaveReturn
          false
          sdisableGlobalContext
          false
          sdescriptors
          xworker.core.text.TextTemplate
          sid
          toJavaScriptCode
    @/@Load/@name
    sname
    name
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    name
    @/@Load/@label
    sname
    label
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    label
    @/@Load/@useVar
    sname
    useVar
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    sdescription
    <p>如果为true那么忽略formId，否则在生成的脚本里会有通过formId获取表单变量的语句。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    useVar
    @/@Load/@formId
    sname
    formId
    sinputtype
    openWindow
    ssize
    40
    sinputattrs
    xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|attributeName=id,descriptor=xworker.extjs.Ext.form.FormPanel,returnType=attribute
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    <p>表单标识，不需要包含引号。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    formId
    @/@Load/@formVarName
    sname
    formVarName
    sreadOnly
    false
    sdefault
    form
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formVarName
    @/@Load/@url
    sname
    url
    ssize
    60
    scolspan
    2
    sreadOnly
    false
    sinheritDescription
    false
    Sdescription
#$@text#$@
<p>提供Form数据的url。</p>
<p>如果为空表示从默认的url从数据对象上获取数据。</p>
#$@text#$@
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    url
    @/@Load/@waitMsg
    sname
    waitMsg
    ssize
    60
    scolspan
    2
    sreadOnly
    false
    sdefault
    '正在加载，请稍后...'
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    waitMsg
    @/@Load/@params
    sname
    params
    sinputtype
    textarea
    sshowLabel
    true
    sreadOnly
    false
    Sdefault
#$@text#$@
{
}
#$@text#$@
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    params
  @/@LoadFormFromDataObject
  sname
  LoadFormFromDataObject
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  FormPanel.dataObject
  smodifier
  public
  sinheritDescription
  false
  sdescription
  <p>使用默认的URL从数据对象上获取表单数据并填充表单。</p>
  sth_createIndex
  true
  sth_registThing
  child|xworker.extjs.Function
  sth_mark
  true
  sth_font
  "|10|1|#000000"
  sth_nodeColor
  DARK_RED
  sid
  LoadFormFromDataObject
    @/@LoadFormFromDataObject/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@LoadFormFromDataObject/@actions/@toJavaScriptCode1
      sname
      toJavaScriptCode
      schangeSelf
      true
      sselfVarName
      data
      sinterpretationType
      Self
      svarScope
      Local
      sdescriptors
      xworker.lang.actions.Actions/@ActionGroup
      sid
      toJavaScriptCode1
        @/@LoadFormFromDataObject/@actions/@toJavaScriptCode1/@actions
        sname
        actions
        sdescriptors
        xworker.lang.actions.Begin/@actions
        sid
        actions
          @/@LoadFormFromDataObject/@actions/@toJavaScriptCode1/@actions/@toJavaScriptCode
          sname
          toTemplate
          stype
          freemarker
          svarScope
          Local
          stemplateEncoding
          UTF-8
          soutputEncoding
          UTF-8
          StemplateCode
#$@text#$@
<#assign formName = data.formVarName?if_exists/>
<#-- 获取form变量 -->
<#if !data.getBoolean("useVar")>
<#if !data.formId?exists || data.formId == "">
alert("formId not setted, path=${data.metadata.path}");
<#else>
var ${formName} = Ext.getCmp(${data.formId?if_exists});
</#if>
</#if>
<#-- 装载表单 -->
<#if data.type?exists && data.type == "load">
${formName}.getForm().load({url:'do?sc=xworker.web.app.view.extjs.server.DataObjectForm/@read&dataObjectPath=${data.dataObject?if_exists}&id=' + ${data.dataId?if_exists}, waitMsg:${data.waitMsg?default("'正在加载，请稍后...'")}, params:${data.params?default("{}")}});
<#else>
${formName}.getForm().load({url:'do?sc=xworker.web.app.view.extjs.server.DataObjectForm/@init&dataObjectPath=${data.dataObject?if_exists}&id=' + ${data.dataId?if_exists}, waitMsg:${data.waitMsg?default("'正在加载，请稍后...'")}, params:${data.params?default("{}")});
</#if>
#$@text#$@
          sinterpretationType
          Self
          sattributeTemplate
          false
          schildsAttributeTemplate
          false
          sisSynchronized
          false
          sthrowException
          true
          suseOtherAction
          false
          screateLocalVarScope
          false
          ssaveReturn
          false
          sdisableGlobalContext
          false
          sdescriptors
          xworker.core.text.TextTemplate
          sid
          toJavaScriptCode
    @/@LoadFormFromDataObject/@name
    sname
    name
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    name
    @/@LoadFormFromDataObject/@label
    sname
    label
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    label
    @/@LoadFormFromDataObject/@useVar
    sname
    useVar
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    sdescription
    <p>如果为true那么忽略formId，否则在生成的脚本里会有通过formId获取表单变量的语句。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    useVar
    @/@LoadFormFromDataObject/@formId
    sname
    formId
    sinputtype
    openWindow
    ssize
    40
    scolspan
    2
    sinputattrs
    xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|attributeName=id,descriptor=xworker.extjs.Ext.form.FormPanel,returnType=attribute
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formId
    @/@LoadFormFromDataObject/@formVarName
    sname
    formVarName
    sreadOnly
    false
    sdefault
    form
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formVarName
    @/@LoadFormFromDataObject/@type
    sname
    type
    sinputtype
    select
    sreadOnly
    false
    sdefault
    load
    sinheritDescription
    false
    sdescription
    <p>针对数据对象时，如果是init调用数据对象的init方法获取数据，否则通过id调用数据对象那个。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    type
      @/@LoadFormFromDataObject/@type/@init
      sname
      init
      slabel
      init
      svalue
      init
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      init
      @/@LoadFormFromDataObject/@type/@load
      sname
      load
      slabel
      load
      svalue
      load
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      load
    @/@LoadFormFromDataObject/@dataObject
    sname
    dataObject
    sinputtype
    openWindow
    ssize
    60
    scolspan
    2
    sinputattrs
    xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|descriptor=xworker.dataObject.DataObject,returnType=path
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    dataObject
    @/@LoadFormFromDataObject/@dataId
    sname
    dataId
    ssize
    60
    scolspan
    2
    sreadOnly
    false
    sdefault
    0
    sinheritDescription
    false
    Sdescription
#$@text#$@
<p>装载数据时的标识，也就是数据对象的关键字对应的值。</p>
<p>dataId可以是一行脚本或者带有单引号的字符串，dataId会拼接到URL的末尾，可参看生成的javascript代码。</p>
#$@text#$@
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    dataId
    @/@LoadFormFromDataObject/@waitMsg
    sname
    waitMsg
    ssize
    60
    scolspan
    2
    sreadOnly
    false
    sdefault
    '正在加载，请稍后...'
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    waitMsg
    @/@LoadFormFromDataObject/@params
    sname
    params
    sinputtype
    textarea
    sshowLabel
    true
    sreadOnly
    false
    Sdefault
#$@text#$@
{
}
#$@text#$@
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    params
  @/@Submit
  sname
  FormSubmit
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  FormPanel
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>把表单提交到指定URL。</p>
<p>服务器应当返回json格式的数据，如下：</p>
<p>{<br />
&nbsp;&nbsp;&nbsp; success: true/false,<br />
&nbsp;&nbsp;&nbsp; msg: '提示消息。',<br />
&nbsp;&nbsp;&nbsp; data: 数据，如果存回填数据到表单<br />
}</p>
<p>如果表单含有File字段，是上传文件，那么服务器返回的ContentType应该是text/html，否则一般是text/plain。</p>
#$@text#$@
  snotXmlAttribute
  false
  sth_createIndex
  true
  sth_registThing
  child|xworker.extjs.Function
  sth_mark
  true
  sth_font
  "|10|1|#000000"
  sth_nodeColor
  DARK_RED
  sid
  Submit
    @/@Submit/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@Submit/@actions/@toJavaScriptCode1
      sname
      toJavaScriptCode
      schangeSelf
      true
      sselfVarName
      data
      sinterpretationType
      Self
      svarScope
      Local
      sdescriptors
      xworker.lang.actions.Actions/@ActionGroup
      sid
      toJavaScriptCode1
        @/@Submit/@actions/@toJavaScriptCode1/@actions
        sname
        actions
        sdescriptors
        xworker.lang.actions.Begin/@actions
        sid
        actions
          @/@Submit/@actions/@toJavaScriptCode1/@actions/@toJavaScriptCode
          sname
          toTemplate
          stype
          freemarker
          svarScope
          Local
          stemplateEncoding
          UTF-8
          soutputEncoding
          UTF-8
          StemplateCode
#$@text#$@
<#if !data.getBoolean("useVar")>
var ${data.formVarName?if_exists} = Ext.getCmp(${data.formId?if_exists});
</#if>

//提交数据
${data.formVarName?if_exists}.getForm().submit({
    url:${data.url?if_exists}, 
    waitMsg:${data.waitMsg?if_exists},
    <#if data.params?exists>
    params:${data.params},
    </#if>    
    success: function(form, action) {
       <#-- 是否回填表单 -->
       if(action.result.data){
           //var values = Ext.decode(action.result.data);
           form.setValues(action.result.data);
       }
       <#-- 是否提示 -->
       <#if data.getBoolean("successAlert")>
       if(action.result.msg){
           Ext.Msg.alert('成功', action.result.msg);
       }
       </#if>
       <#-- 成功回调函数 -->
       <#if data.successFunction?exists && data.successFunction != "">
       ${data.successFunction}(form, action);
       </#if>
       <#-- 是否执行eval -->
       <#if data.getBoolean("eval")>
       if(action.result.script){
           eval(action.result.script);
       }
       </#if>
    },
    failure: function(form, action) {
        switch (action.failureType) {
            case Ext.form.Action.CLIENT_INVALID:
                Ext.Msg.alert('失败', '数据校验失败');
                break;
            case Ext.form.Action.CONNECT_FAILURE:
                Ext.Msg.alert('失败', 'Ajax通讯错误');
                break;
            case Ext.form.Action.SERVER_INVALID:
               Ext.Msg.alert('失败', action.result.msg);
        }
    }
});
#$@text#$@
          sinterpretationType
          Self
          sattributeTemplate
          false
          schildsAttributeTemplate
          false
          sisSynchronized
          false
          sthrowException
          true
          suseOtherAction
          false
          screateLocalVarScope
          false
          ssaveReturn
          false
          sdisableGlobalContext
          false
          sdebugLog
          false
          sdescriptors
          xworker.core.text.TextTemplate
          sid
          toJavaScriptCode
    @/@Submit/@name
    sname
    name
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    name
    @/@Submit/@label
    sname
    label
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    label
    @/@Submit/@useVar
    sname
    useVar
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    sdescription
    <p>如果为true那么忽略formId，否则在生成的脚本里会有通过formId获取表单变量的语句。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    useVar
    @/@Submit/@formId
    sname
    formId
    sinputtype
    openWindow
    sinputattrs
    xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|attributeName=id,descriptor=xworker.extjs.Ext.form.FormPanel,returnType=attribute
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    <p>表单标识，不需要包含引号。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    formId
    @/@Submit/@formVarName
    sname
    formVarName
    sreadOnly
    false
    sdefault
    form
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formVarName
    @/@Submit/@url
    sname
    url
    ssize
    60
    scolspan
    2
    sreadOnly
    false
    sinheritDescription
    false
    Sdescription
#$@text#$@
<p>提供Form数据的url。</p>
<p>如果为空表示从默认的url从数据对象上获取数据。</p>
#$@text#$@
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    url
    @/@Submit/@waitMsg
    sname
    waitMsg
    ssize
    60
    scolspan
    2
    sreadOnly
    false
    sdefault
    '正在加载，请稍后...'
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    waitMsg
    @/@Submit/@alertSuccess
    sname
    successAlert
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    true
    sinheritDescription
    false
    sdescription
    <p>提交成功后是否弹出成功的alert提示。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    alertSuccess
    @/@Submit/@successFunction
    sname
    successFunction
    ssize
    60
    scolspan
    2
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    <p>如果不为空，当提交成功后会调用次函数，这个函数应该不包含任何参数。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    successFunction
    @/@Submit/@eval
    sname
    eval
    sinputtype
    truefalse
    sshowLabel
    true
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    sdescription
    <p>如果为true且服务器在json中返回了字段script，那么将eval该script。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    eval
    @/@Submit/@params
    sname
    params
    sinputtype
    textarea
    sshowLabel
    true
    sreadOnly
    false
    Sdefault
#$@text#$@
{
}
#$@text#$@
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    params
  @/@SubmitDataObjectCreate
  sname
  FormSubmitDataObject
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  FormPanel.dataObject
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>把表单提交到数据对象，类型可以选择create、update、delete和validate等。</p>

<p>如果是create、update会根据服务器返回的数据回填表格，数据是action.result.data。</p>
#$@text#$@
  snotXmlAttribute
  false
  sjson_isArray
  false
  sth_createIndex
  true
  sth_registThing
  child|xworker.extjs.Function
  sth_mark
  true
  sth_font
  "|10|1|#000000"
  sth_nodeColor
  DARK_RED
  sid
  SubmitDataObjectCreate
    @/@SubmitDataObjectCreate/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@SubmitDataObjectCreate/@actions/@toJavaScriptCode1
      sname
      toJavaScriptCode
      schangeSelf
      true
      sselfVarName
      data
      sinterpretationType
      Self
      svarScope
      Local
      sdescriptors
      xworker.lang.actions.Actions/@ActionGroup
      sid
      toJavaScriptCode1
        @/@SubmitDataObjectCreate/@actions/@toJavaScriptCode1/@actions
        sname
        actions
        sdescriptors
        xworker.lang.actions.Begin/@actions
        sid
        actions
          @/@SubmitDataObjectCreate/@actions/@toJavaScriptCode1/@actions/@toJavaScriptCode
          sname
          toTemplate
          stype
          freemarker
          svarScope
          Local
          stemplateEncoding
          UTF-8
          soutputEncoding
          UTF-8
          StemplateCode
#$@text#$@
<#if !data.getBoolean("useVar")>
var ${data.formVarName?if_exists} = Ext.getCmp(${data.formId?if_exists});
</#if>

//提交数据
${data.formVarName?if_exists}.getForm().submit({
    <#if data.type == "create">
    url:'do?sc=xworker.web.app.view.extjs.server.DataObjectForm/@create&dataObjectPath=${data.dataObject?if_exists}', 
    <#elseif data.type == "update">
    url:'do?sc=xworker.web.app.view.extjs.server.DataObjectForm/@update&dataObjectPath=${data.dataObject?if_exists}', 
    <#elseif data.type == "delete">
    url:'do?sc=xworker.web.app.view.extjs.server.DataObjectForm/@delete&dataObjectPath=${data.dataObject?if_exists}', 
    <#elseif data.type == "validate">
    url:'do?sc=xworker.web.app.view.extjs.server.DataObjectForm/@validate&dataObjectPath=${data.dataObject?if_exists}', 
    </#if>
    waitMsg:${data.waitMsg?if_exists},
    <#if data.params?exists>
    params:${data.params},
    </#if>
    success: function(form, action) {
       <#-- 是否回填表单 -->
       if(action.result.data){
           //var values = Ext.decode(action.result.data);
           form.setValues(action.result.data);
       }
       <#-- 是否提示 -->
       <#if data.getBoolean("successAlert")>
       if(action.result.msg){
           Ext.Msg.alert('成功', action.result.msg);
       }
       </#if>
       <#-- 成功回调函数 -->
       <#if data.successFunction?exists && data.successFunction != "">
       ${data.successFunction}(action);
       </#if>
    },
    failure: function(form, action) {
        switch (action.failureType) {
            case Ext.form.Action.CLIENT_INVALID:
                Ext.Msg.alert('失败', '数据校验失败');
                break;
            case Ext.form.Action.CONNECT_FAILURE:
                Ext.Msg.alert('失败', 'Ajax通讯错误');
                break;
            case Ext.form.Action.SERVER_INVALID:
               Ext.Msg.alert('失败', action.result.msg);
        }
    }
});
#$@text#$@
          sinterpretationType
          Self
          sattributeTemplate
          false
          schildsAttributeTemplate
          false
          sisSynchronized
          false
          sthrowException
          true
          suseOtherAction
          false
          screateLocalVarScope
          false
          ssaveReturn
          false
          sdisableGlobalContext
          false
          sdebugLog
          false
          sdescriptors
          xworker.core.text.TextTemplate
          sid
          toJavaScriptCode
    @/@SubmitDataObjectCreate/@name
    sname
    name
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    name
    @/@SubmitDataObjectCreate/@label
    sname
    label
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    label
    @/@SubmitDataObjectCreate/@useVar
    sname
    useVar
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    sdescription
    <p>如果为true那么忽略formId，否则在生成的脚本里会有通过formId获取表单变量的语句。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    useVar
    @/@SubmitDataObjectCreate/@formId
    sname
    formId
    sinputtype
    openWindow
    ssize
    40
    sinputattrs
    xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|attributeName=id,descriptor=xworker.extjs.Ext.form.FormPanel,returnType=attribute
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formId
    @/@SubmitDataObjectCreate/@formVarName
    sname
    formVarName
    sreadOnly
    false
    sdefault
    form
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formVarName
    @/@SubmitDataObjectCreate/@type
    sname
    type
    sinputtype
    select
    sreadOnly
    false
    sdefault
    update
    sinheritDescription
    false
    sdescription
    <p>针对数据对象时，如果是init调用数据对象的init方法获取数据，否则通过id调用数据对象那个。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    type
      @/@SubmitDataObjectCreate/@type/@init
      sname
      create
      svalue
      create
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      init
      @/@SubmitDataObjectCreate/@type/@load
      sname
      update
      svalue
      update
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      load
      @/@SubmitDataObjectCreate/@type/@delete
      sname
      delete
      svalue
      delete
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sth_createIndex
      false
      sth_mark
      false
      sid
      delete
      @/@SubmitDataObjectCreate/@type/@validate
      sname
      validate
      svalue
      validate
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sth_createIndex
      false
      sth_mark
      false
      sid
      validate
    @/@SubmitDataObjectCreate/@dataObject
    sname
    dataObject
    sinputtype
    openWindow
    ssize
    60
    scolspan
    2
    sinputattrs
    xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|descriptor=xworker.dataObject.DataObject,returnType=path
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    dataObject
    @/@SubmitDataObjectCreate/@waitMsg
    sname
    waitMsg
    ssize
    60
    scolspan
    2
    sreadOnly
    false
    sdefault
    '正在加载，请稍后...'
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    waitMsg
    @/@SubmitDataObjectCreate/@alertSuccess
    sname
    successAlert
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    true
    sinheritDescription
    false
    sdescription
    <p>提交成功后是否弹出成功的alert提示。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    alertSuccess
    @/@SubmitDataObjectCreate/@successFunction
    sname
    successFunction
    ssize
    60
    scolspan
    2
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    <p>如果不为空，当提交成功后会调用次函数，这个函数应该不包含任何参数。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    successFunction
    @/@SubmitDataObjectCreate/@params
    sname
    params
    sinputtype
    textarea
    sshowLabel
    true
    sreadOnly
    false
    Sdefault
#$@text#$@
{
}
#$@text#$@
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    params
  @/@SetValues
  sname
  FormSetValues
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  FormPanel
  smodifier
  public
  sinheritDescription
  false
  sdescription
  <p>设置表单的值。</p>
  snotXmlAttribute
  false
  sth_createIndex
  true
  sth_registThing
  child|xworker.extjs.Function
  sth_mark
  true
  sth_font
  "|10|1|#000000"
  sth_nodeColor
  DARK_RED
  sid
  SetValues
    @/@SetValues/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sth_createIndex
    false
    sth_mark
    false
    sid
    actions
      @/@SetValues/@actions/@toJavaScriptCode1
      sname
      toJavaScriptCode
      schangeSelf
      true
      sselfVarName
      data
      sinterpretationType
      Self
      svarScope
      Local
      sdescriptors
      xworker.lang.actions.Actions/@ActionGroup
      sid
      toJavaScriptCode1
        @/@SetValues/@actions/@toJavaScriptCode1/@actions
        sname
        actions
        sdescriptors
        xworker.lang.actions.Begin/@actions
        sid
        actions
          @/@SetValues/@actions/@toJavaScriptCode1/@actions/@toJavaScriptCode
          sname
          toTemplate
          stype
          freemarker
          svarScope
          Local
          stemplateEncoding
          UTF-8
          soutputEncoding
          UTF-8
          StemplateCode
#$@text#$@
<#if !data.getBoolean("useVar")>
var ${data.formVarName?if_exists} = Ext.getCmp(${data.formId?if_exists});
</#if>
${data.formVarName?if_exists}.getForm().setValues(${data.values?if_exists});
#$@text#$@
          sinterpretationType
          Self
          sattributeTemplate
          false
          schildsAttributeTemplate
          false
          sisSynchronized
          false
          sthrowException
          true
          suseOtherAction
          false
          sdisableGlobalContext
          false
          sdescriptors
          xworker.core.text.TextTemplate
          sid
          toJavaScriptCode
    @/@SetValues/@name
    sname
    name
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    name
    @/@SetValues/@label
    sname
    label
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    label
    @/@SetValues/@useVar
    sname
    useVar
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    sdescription
    <p>如果为true那么忽略formId，否则在生成的脚本里会有通过formId获取表单变量的语句。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    useVar
    @/@SetValues/@formId
    sname
    formId
    sinputtype
    openWindow
    ssize
    40
    sinputattrs
    xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|attributeName=id,descriptor=xworker.extjs.Ext.form.FormPanel,returnType=attribute
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formId
    @/@SetValues/@formVarName
    sname
    formVarName
    sreadOnly
    false
    sdefault
    form
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formVarName
    @/@SetValues/@values
    sname
    values
    sinputtype
    codeEditor
    sinputattrs
    codeName=javascript codeType=javascript wrap=false fillBoth=true cols= rows=
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    values
  @/@SetValues1
  sname
  FormGetValues
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  FormPanel
  smodifier
  public
  sinheritDescription
  false
  sdescription
  <p>设置表单的值。</p>
  snotXmlAttribute
  false
  sth_createIndex
  true
  sth_registThing
  child|xworker.extjs.Function
  sth_mark
  true
  sth_font
  "|10|1|#000000"
  sth_nodeColor
  DARK_RED
  sid
  SetValues1
    @/@SetValues1/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sth_createIndex
    false
    sth_mark
    false
    sid
    actions
      @/@SetValues1/@actions/@toJavaScriptCode1
      sname
      toJavaScriptCode
      schangeSelf
      true
      sselfVarName
      data
      sinterpretationType
      Self
      svarScope
      Local
      sdescriptors
      xworker.lang.actions.Actions/@ActionGroup
      sid
      toJavaScriptCode1
        @/@SetValues1/@actions/@toJavaScriptCode1/@actions
        sname
        actions
        sdescriptors
        xworker.lang.actions.Begin/@actions
        sid
        actions
          @/@SetValues1/@actions/@toJavaScriptCode1/@actions/@toJavaScriptCode
          sname
          toTemplate
          stype
          freemarker
          svarScope
          Local
          stemplateEncoding
          UTF-8
          soutputEncoding
          UTF-8
          StemplateCode
#$@text#$@
<#if !data.getBoolean("useVar")>
var ${data.formVarName?if_exists} = Ext.getCmp(${data.formId?if_exists});
</#if>
var ${data.valuesVarName?if_exists} = ${data.formVarName?if_exists}.getForm().getValues();
#$@text#$@
          sinterpretationType
          Self
          sattributeTemplate
          false
          schildsAttributeTemplate
          false
          sisSynchronized
          false
          sthrowException
          true
          suseOtherAction
          false
          screateLocalVarScope
          false
          ssaveReturn
          false
          sdisableGlobalContext
          false
          sdescriptors
          xworker.core.text.TextTemplate
          sid
          toJavaScriptCode
    @/@SetValues1/@name
    sname
    name
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    name
    @/@SetValues1/@label
    sname
    label
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    label
    @/@SetValues1/@useVar
    sname
    useVar
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    sdescription
    <p>如果为true那么忽略formId，否则在生成的脚本里会有通过formId获取表单变量的语句。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    useVar
    @/@SetValues1/@formId
    sname
    formId
    sinputtype
    openWindow
    ssize
    40
    sinputattrs
    xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|attributeName=id,descriptor=xworker.extjs.Ext.form.FormPanel,returnType=attribute
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formId
    @/@SetValues1/@formVarName
    sname
    formVarName
    sreadOnly
    false
    sdefault
    form
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formVarName
    @/@SetValues1/@values
    sname
    valuesVarName
    sinputtype
    text
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    values
  @/@FormUpdateRecord
  sname
  FormUpdateRecord
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  FormPanel
  smodifier
  public
  sinheritDescription
  false
  sdescription
  <p>把一个Form表单的值更新到一个Record上，如Grid中的Record。</p>
  snotXmlAttribute
  false
  sjson_isArray
  false
  sth_createIndex
  true
  sth_registThing
  child|xworker.extjs.Function
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  FormUpdateRecord
    @/@FormUpdateRecord/@actions
    sname
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    actions
      @/@FormUpdateRecord/@actions/@toJavaScriptCode1
      sname
      toJavaScriptCode
      schangeSelf
      true
      sselfVarName
      data
      sinterpretationType
      Self
      svarScope
      Local
      sdescriptors
      xworker.lang.actions.Actions/@ActionGroup
      sid
      toJavaScriptCode1
        @/@FormUpdateRecord/@actions/@toJavaScriptCode1/@actions
        sname
        actions
        sdescriptors
        xworker.lang.actions.Begin/@actions
        sid
        actions
          @/@FormUpdateRecord/@actions/@toJavaScriptCode1/@actions/@toJavaScriptCode
          sname
          toTemplate
          stype
          freemarker
          svarScope
          Local
          stemplateEncoding
          UTF-8
          soutputEncoding
          UTF-8
          StemplateCode
#$@text#$@
<#if !data.getBoolean("useVar")>
var ${data.formVarName?if_exists} = Ext.getCmp(${data.formId?if_exists});
</#if>
${data.formVarName?if_exists}.getForm().updateRecord(${data.recordVar?if_exists});
#$@text#$@
          sinterpretationType
          Self
          sattributeTemplate
          false
          schildsAttributeTemplate
          false
          sisSynchronized
          false
          sthrowException
          true
          suseOtherAction
          false
          screateLocalVarScope
          false
          ssaveReturn
          false
          sdisableGlobalContext
          false
          sdebugLog
          false
          sdescriptors
          xworker.core.text.TextTemplate
          sid
          toJavaScriptCode
    @/@FormUpdateRecord/@name
    sname
    name
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    name
    @/@FormUpdateRecord/@lable
    sname
    lable
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    lable
    @/@FormUpdateRecord/@useVar
    sname
    useVar
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    sdescription
    <p>如果为true那么忽略formId，否则在生成的脚本里会有通过formId获取表单变量的语句。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    useVar
    @/@FormUpdateRecord/@formId
    sname
    formId
    sinputtype
    openWindow
    ssize
    40
    sinputattrs
    xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|attributeName=id,descriptor=xworker.extjs.Ext.form.FormPanel,returnType=attribute
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formId
    @/@FormUpdateRecord/@formVarName
    sname
    formVarName
    sreadOnly
    false
    sdefault
    form
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    formVarName
    @/@FormUpdateRecord/@recordVar
    sname
    recordVar
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    recordVar
