^1640742913025
@
sname
EnableDisable
slabel
EnableDisable
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
  @/@Enable
  sname
  Enable
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  ExtJs.enabledisable
  smodifier
  public
  sinheritDescription
  false
  sth_createIndex
  true
  sth_registThing
  child|xworker.extjs.Function
  sth_mark
  false
  sid
  Enable
    @/@Enable/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@Enable/@actions/@toJavaScriptCode1
      sname
      toJavaScriptCode
      schangeSelf
      true
      sselfVarName
      data
      sinterpretationType
      Self
      svarScope
      Local
      sdescriptors
      xworker.lang.actions.Actions/@ActionGroup
      sid
      toJavaScriptCode1
        @/@Enable/@actions/@toJavaScriptCode1/@actions
        sname
        actions
        sdescriptors
        xworker.lang.actions.Begin/@actions
        sid
        actions
          @/@Enable/@actions/@toJavaScriptCode1/@actions/@toJavaScriptCode
          sname
          toTemplate
          stype
          freemarker
          svarScope
          Local
          stemplateEncoding
          UTF-8
          soutputEncoding
          UTF-8
          StemplateCode
#$@text#$@
//激活控件
var ${data.splitedVar?default("cmps")} = '${data.components?if_exists}'.split(',');
for(i=0; i<${data.splitedVar?default("cmps")}.length; i++){
    var cmp = Ext.getCmp(${data.splitedVar?default("cmps")}[i]);
    if(cmp){
        cmp.setDisabled(false);
    }
}
#$@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
    @/@Enable/@name
    sname
    name
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    name
    @/@Enable/@labe
    sname
    label
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    labe
    @/@Enable/@components
    sname
    components
    ssize
    60
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    components
    @/@Enable/@splitedVar
    sname
    splitedVar
    sinputtype
    text
    ssize
    40
    sshowLabel
    true
    sreadOnly
    false
    sdefault
    cmps
    sinheritDescription
    false
    sdescription
    <p>分割后的字符串的临时变量名，拿出来设置为了避免多个Enable/Disable存在时可能存在变量名冲突。</p>
    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
    splitedVar
  @/@Disable
  sname
  Disable
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  ExtJs.enabledisable
  smodifier
  public
  sinheritDescription
  false
  sth_createIndex
  true
  sth_registThing
  child|xworker.extjs.Function
  sth_mark
  false
  sid
  Disable
    @/@Disable/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@Disable/@actions/@toJavaScriptCode1
      sname
      toJavaScriptCode
      schangeSelf
      true
      sselfVarName
      data
      sinterpretationType
      Self
      svarScope
      Local
      sdescriptors
      xworker.lang.actions.Actions/@ActionGroup
      sid
      toJavaScriptCode1
        @/@Disable/@actions/@toJavaScriptCode1/@actions
        sname
        actions
        sdescriptors
        xworker.lang.actions.Begin/@actions
        sid
        actions
          @/@Disable/@actions/@toJavaScriptCode1/@actions/@toJavaScriptCode
          sname
          toTemplate
          stype
          freemarker
          svarScope
          Local
          stemplateEncoding
          UTF-8
          soutputEncoding
          UTF-8
          StemplateCode
#$@text#$@
//让控件不活动
var ${data.splitedVar?default("cmps")} = '${data.components?if_exists}'.split(',');
for(i=0; i<${data.splitedVar?default("cmps")}.length; i++){
    var cmp = Ext.getCmp(${data.splitedVar?default("cmps")}[i]);
    if(cmp){
        cmp.setDisabled(true);
    }
}
#$@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
    @/@Disable/@name
    sname
    name
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    name
    @/@Disable/@labe
    sname
    label
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    labe
    @/@Disable/@components
    sname
    components
    ssize
    60
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    components
    @/@Disable/@splitedVar
    sname
    splitedVar
    sinputtype
    text
    ssize
    40
    sshowLabel
    true
    sreadOnly
    false
    sdefault
    cmps
    sinheritDescription
    false
    sdescription
    <p>分割后的字符串的临时变量名，拿出来设置为了避免多个Enable/Disable存在时可能存在变量名冲突。</p>
    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
    splitedVar
