^1665804300726
@
sname
FileManager
slabel
FileManager
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
sgroup
file
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>&nbsp;</p>

<p><strong>生成的JavaScript的变量ID列表：</strong></p>

<ul>
	<li>${data.idPrefix?if_exists}_MainPanel<br />
	${data.idPrefix?if_exists}_TreePanel<br />
	${data.idPrefix?if_exists}_mainTabPanel<br />
	${data.idPrefix?if_exists}_fileListGridPanel<br />
	${data.idPrefix?if_exists}_batchUploadAppGrid<br />
	${data.idPrefix?if_exists}_createFolderButton<br />
	${data.idPrefix?if_exists}_uploadFileButton<br />
	${data.idPrefix?if_exists}_renameButton<br />
	${data.idPrefix?if_exists}_deleteButton</li>
</ul>
#$@text#$@
snotXmlAttribute
false
sth_createIndex
true
sth_registThing
child|xworker.extjs.Items
sth_registMyChilds
false
sth_mark
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@getExtType
    sname
    getExtType
    stype
    string
    svalue
    Ext.Panel
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@ValueFactory
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    getExtType
    @/@actions/@toJavaScriptCode
    sname
    toJavaScriptCode
    sreturnType
    firstChild
    sselfVarName
    data
    suseRootThing
    false
    sactionName
    toJavaScriptCode
    sopenGeneratedThing
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@ThingTemplateAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    toJavaScriptCode
      @/@actions/@toJavaScriptCode/@ThingTemplate
      sname
      ThingTemplate
      sdescriptors
      xworker.lang.actions.ThingTemplateAction/@ThingTemplate
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      ThingTemplate
        @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_
        LanimCollapse
        false
        LbodyBorder
        true
        Lborder
        true
        sbuttonAlign
        'right'
        Lclosable
        false
        LcollapseFirst
        true
        Lcollapsed
        false
        Lcollapsible
        false
        Ldisabled
        false
        Lfooter
        false
        Lframe
        false
        Lheader
        false
        LheaderAsText
        true
        LhideCollapseTool
        false
        LmaskDisabled
        true
        LpreventBodyReset
        false
        Lshim
        true
        stitle
        ${data.title?if_exists}
        LtitleCollapse
        false
        Lunstyled
        false
        LautoDestroy
        true
        LforceLayout
        false
        LhideBorders
        false
        slayout
        'border'
        LmonitorResize
        true
        sautoHeight
        false
        sautoScroll
        false
        sautoWidth
        false
        sallowDomMove
        true
        sautoShow
        false
        Lhidden
        false
        LhideLabel
        false
        LhideParent
        false
        sid
        '${data.idPrefix?if_exists}_MainPanel'
        Lstateful
        true
        sname
        fileManagerPanel
        shaveTypeInCode
        false
        suseChildExtThing
        false
        svarglobal
        false
        sanimFloat
        true
        sautoHide
        true
        scollapseMode
        undefined
        sfloatable
        true
        ssplit
        false
        sdescriptors
        xworker.extjs.Items/@Panel
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
          @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items
          sname
          items
          sdescriptors
          xworker.extjs.Ext.Container/@24354
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          items
            @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@_treePanel_
            Lanimate
            false
            LcontainerScroll
            false
            LddAppendOnly
            false
            LddScroll
            false
            LenableDD
            false
            LenableDrag
            false
            LenableDrop
            false
            LhlDrop
            true
            Llines
            true
            LrootVisible
            true
            LsingleExpand
            false
            LtrackMouseOver
            true
            LuseArrows
            false
            LanimCollapse
            false
            LbodyBorder
            true
            Lborder
            true
            sbuttonAlign
            'right'
            Lclosable
            false
            LcollapseFirst
            true
            Lcollapsed
            false
            Lcollapsible
            false
            Ldisabled
            false
            Lfooter
            false
            Lframe
            false
            Lheader
            false
            LheaderAsText
            true
            LhideCollapseTool
            false
            LmaskDisabled
            true
            LpreventBodyReset
            false
            Lshim
            true
            LtitleCollapse
            false
            Lunstyled
            false
            LautoDestroy
            true
            LforceLayout
            false
            LhideBorders
            false
            LmonitorResize
            true
            sautoHeight
            false
            sautoScroll
            false
            sautoWidth
            false
            swidth
            300
            sregion
            'west'
            sallowDomMove
            true
            sautoShow
            false
            Lhidden
            false
            LhideLabel
            false
            LhideParent
            false
            sid
            '${data.idPrefix?if_exists}_TreePanel'
            Lstateful
            true
            sname
            treePanel
            shaveTypeInCode
            false
            suseChildExtThing
            false
            svarglobal
            false
            sanimFloat
            true
            sautoHide
            true
            scollapseMode
            undefined
            sfloatable
            true
            ssplit
            true
            sdescriptors
            xworker.extjs.Items/@TreePanel
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
              @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@_treePanel_/@loader
              LclearOnLoad
              true
              sdataUrl
              'do?sc=xworker.web.app.view.extjs.server.DataProvider/@getTreeJsonData&path=${(data.getThing("FileTreeModel@0").getMetadata().getPath())?if_exists}&command=listFiles&type=treeModel&checker=${data.getMetadata().getPath()}'
              snodeParameter
              'id'
              LparamsAsHash
              false
              LpreloadChildren
              false
              sname
              loader
              shaveTypeInCode
              false
              suseChildExtThing
              false
              svarglobal
              false
              sdescriptors
              xworker.extjs.Ext.tree.TreePanel/@25602
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              loader
              @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@_treePanel_/@root
              LallowChildren
              true
              LallowDrag
              true
              LallowDrop
              true
              Lchecked
              false
              Ldisabled
              false
              Ldraggable
              false
              Leditable
              true
              Lexpandable
              false
              Lexpanded
              false
              Lhidden
              false
              LisTarget
              true
              LsingleClickExpand
              false
              stext
              '根目录'
              sid
              '__TreeNodeRootId__'
              Lleaf
              false
              sname
              root
              shaveTypeInCode
              false
              suseChildExtThing
              false
              svarglobal
              false
              sdescriptors
              xworker.extjs.Ext.tree.TreePanel/@25605
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@_treePanel_/@9241
              sname
              listeners
              sdescriptors
              xworker.extjs.Ext.util.Observable/@25649
              sid
              9241
                @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@_treePanel_/@9241/@9242
                sname
                click
                sparams
                node,event
                suseChildsCode
                true
                shaveTypeInCode
                false
                suseChildExtThing
                false
                svarglobal
                false
                schildsAppendMethod
                tail
                sdescriptors
                xworker.extjs.Ext.util.Observable/@25649/@Function
                sid
                9242
                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@_treePanel_/@9241/@9242/@GridLoadRecords
                  sname
                  GridLoadRecords
                  suseGridStoreVar
                  false
                  sgridName
                  '${data.idPrefix?if_exists}_fileListGridPanel'
                  sgridStoreVarName
                  store
                  Sparams
#$@text#$@
{
    id:node.attributes.id,
    checker:'${data.getMetadata().getPath()}'
}
#$@text#$@
                  sdescriptors
                  xworker.web.app.view.extjs.widgets.grid.DataObjectGridFunctions/@GridLoadRecords
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  GridLoadRecords
                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@_treePanel_/@9241/@9242/@Code
                  sname
                  Code
                  scode
                  Ext.getCmp('${data.idPrefix?if_exists}_TreePanel').fileId = node.attributes.id;
                  sdescriptors
                  xworker.extjs.Function/@Code
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  Code
                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@_treePanel_/@9241/@9242/@Enable
                  sname
                  Enable
                  scomponents
                  ${data.idPrefix?if_exists}_createFolderButton
                  ssplitedVar
                  cmps
                  sdescriptors
                  xworker.extjs.functions.EnableDisable/@Enable
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  Enable
                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@_treePanel_/@9241/@9242/@Disable
                  sname
                  Disable
                  scomponents
                  ${data.idPrefix?if_exists}_uploadFileButton,${data.idPrefix?if_exists}_renameButton,${data.idPrefix?if_exists}_deleteButton
                  ssplitedVar
                  cmps
                  sdescriptors
                  xworker.extjs.functions.EnableDisable/@Disable
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  Disable
            @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel
            LanimCollapse
            false
            LbodyBorder
            true
            Lborder
            true
            sbuttonAlign
            'right'
            Lclosable
            false
            LcollapseFirst
            true
            Lcollapsed
            false
            Lcollapsible
            false
            Ldisabled
            false
            Lfooter
            false
            Lframe
            false
            Lheader
            false
            LheaderAsText
            true
            LhideCollapseTool
            false
            LmaskDisabled
            true
            LpreventBodyReset
            false
            Lshim
            true
            stitle
            '文件列表'
            LtitleCollapse
            false
            Lunstyled
            false
            LautoDestroy
            true
            LforceLayout
            true
            LhideBorders
            true
            slayout
            'border'
            LmonitorResize
            true
            sautoHeight
            false
            sautoScroll
            false
            sautoWidth
            false
            sregion
            'center'
            sallowDomMove
            true
            sautoShow
            false
            Lhidden
            false
            LhideLabel
            false
            LhideParent
            false
            sid
            '${data.idPrefix?if_exists}_fileListMainPanel'
            Lstateful
            true
            sname
            mainPanel
            shaveTypeInCode
            false
            suseChildExtThing
            false
            svarglobal
            false
            sanimFloat
            true
            sautoHide
            true
            scollapseMode
            undefined
            sfloatable
            true
            ssplit
            false
            sdescriptors
            xworker.extjs.Items/@Panel
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
              @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items
              sname
              items
              sdescriptors
              xworker.extjs.Ext.Container/@24354
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              items
                @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel
                sloadMask
                true
                sdataObject
                xworker.web.app.view.extjs.tools.fileManager.FileDataObject
                LautoEncode
                false
                LforceValidation
                false
                LcolumnLines
                false
                LdeferRowRender
                true
                LdisableSelection
                false
                LenableColumnHide
                true
                LenableColumnMove
                true
                LenableColumnResize
                true
                LenableDragDrop
                false
                LenableHdMenu
                true
                LhideHeaders
                false
                LstripeRows
                false
                LtrackMouseOver
                true
                LanimCollapse
                false
                LbodyBorder
                true
                Lborder
                true
                sbuttonAlign
                'right'
                Lclosable
                false
                LcollapseFirst
                true
                Lcollapsed
                false
                Lcollapsible
                false
                Ldisabled
                false
                Lfooter
                false
                Lframe
                false
                Lheader
                false
                LheaderAsText
                true
                LhideCollapseTool
                false
                LmaskDisabled
                true
                LpreventBodyReset
                false
                Lshim
                true
                LtitleCollapse
                false
                Lunstyled
                false
                LautoDestroy
                true
                LforceLayout
                false
                LhideBorders
                false
                LmonitorResize
                true
                sautoHeight
                false
                sautoScroll
                false
                sautoWidth
                false
                sregion
                'center'
                sallowDomMove
                true
                sautoShow
                false
                Lhidden
                false
                LhideLabel
                false
                LhideParent
                false
                sid
                '${data.idPrefix?if_exists}_fileListGridPanel'
                Lstateful
                true
                sname
                fileListGridPanel
                slabel
                fileListGridPanel
                shaveTypeInCode
                false
                suseChildExtThing
                false
                svarglobal
                false
                sanimFloat
                true
                sautoHide
                true
                scollapseMode
                undefined
                sfloatable
                true
                ssplit
                false
                sdescriptors
                xworker.web.app.view.extjs.widgets.AppItems/@DataObjectGridPanel
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar
                  sname
                  tbar
                  sdescriptors
                  xworker.extjs.Ext.Panel/@25354
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  tbar
                    @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items
                    sname
                    Items
                    sdescriptors
                    xworker.extjs.Ext.Panel/@25317/@Items
                    sth_createIndex
                    false
                    sth_registMyChilds
                    false
                    sth_mark
                    false
                    sid
                    Items
                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_
                      LallowDepress
                      false
                      LautoWidth
                      false
                      Ldisabled
                      false
                      LenableToggle
                      false
                      LhandleMouseEvents
                      true
                      Lhidden
                      false
                      sicon
                      'icons/folder_add.png'
                      siconAlign
                      'left'
                      Lpressed
                      false
                      sscale
                      'small'
                      stext
                      '新建目录'
                      stooltipType
                      'qtip'
                      stype
                      'button'
                      sautoHeight
                      false
                      sautoScroll
                      false
                      sallowDomMove
                      true
                      sautoShow
                      false
                      LhideLabel
                      false
                      LhideParent
                      false
                      sid
                      '${data.idPrefix?if_exists}_createFolderButton'
                      Lstateful
                      true
                      sname
                      createFolderButtonButton
                      shaveTypeInCode
                      false
                      suseChildExtThing
                      false
                      svarglobal
                      false
                      sanimFloat
                      true
                      sautoHide
                      true
                      scollapseMode
                      undefined
                      scollapsible
                      false
                      sfloatable
                      true
                      ssplit
                      false
                      sdescriptors
                      xworker.extjs.Items/@Button
                      sth_createIndex
                      false
                      sth_registMyChilds
                      false
                      sth_mark
                      false
                        @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_/@handler
                        sname
                        handler
                        suseChildsCode
                        true
                        shaveTypeInCode
                        false
                        suseChildExtThing
                        false
                        svarglobal
                        false
                        schildsAppendMethod
                        tail
                        sdescriptors
                        xworker.extjs.Ext.Button/@24224
                        sth_createIndex
                        false
                        sth_registMyChilds
                        false
                        sth_mark
                        false
                        sid
                        handler
                          @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_/@handler/@Prompt
                          sname
                          Prompt
                          stitle
                          '新建目录'
                          smessage
                          '请输入新的目录名:'
                          sscope
                          this
                          smultiline
                          false
                          svalue
                          ''
                          sdescriptors
                          xworker.extjs.functions.Msg/@Prompt
                          sth_createIndex
                          false
                          sth_registMyChilds
                          false
                          sth_mark
                          false
                          sid
                          Prompt
                            @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_/@handler/@Prompt/@OkFunction
                            sname
                            OkFunction
                            suseChildsCode
                            true
                            shaveTypeInCode
                            false
                            suseChildExtThing
                            false
                            svarglobal
                            false
                            schildsAppendMethod
                            tail
                            sdescriptors
                            xworker.extjs.functions.Msg/@Prompt/@OkFunction
                            sth_createIndex
                            false
                            sth_registMyChilds
                            false
                            sth_mark
                            false
                            sid
                            OkFunction
                              @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_/@handler/@Prompt/@OkFunction/@Request
                              sname
                              Request
                              surl
                              'do'
                              smethod
                              'POST'
                              Sparams
#$@text#$@
{
    sc:'xworker.app.view.extjs.tools.fileManager.ShowFile',
    command:'createFolder',
    parentFile:Ext.getCmp('${data.idPrefix?if_exists}_TreePanel').fileId,
    name:text,
    checker:'${data.getMetadata().getPath()}'
}
#$@text#$@
                              sdescriptors
                              xworker.extjs.functions.Ajax/@Request
                              sth_createIndex
                              false
                              sth_registMyChilds
                              false
                              sth_mark
                              false
                              sid
                              Request
                                @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_/@handler/@Prompt/@OkFunction/@Request/@Success
                                sname
                                Success
                                suseChildsCode
                                true
                                shaveTypeInCode
                                false
                                suseChildExtThing
                                false
                                svarglobal
                                false
                                schildsAppendMethod
                                tail
                                sdescriptors
                                xworker.extjs.functions.Ajax/@Request/@Success
                                sth_createIndex
                                false
                                sth_registMyChilds
                                false
                                sth_mark
                                false
                                sid
                                Success
                                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_/@handler/@Prompt/@OkFunction/@Request/@Success/@Code
                                  sname
                                  Code
                                  Scode
#$@text#$@
var obj = Ext.decode(response.responseText);
if(obj.success){
    ${r"$"}{success?if_exists}
}else{
    Ext.Msg.alert('创建目录', obj.msg);
}
#$@text#$@
                                  sdescriptors
                                  xworker.extjs.Function/@Code
                                  sth_createIndex
                                  false
                                  sth_mark
                                  false
                                  sid
                                  Code
                                    @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_/@handler/@Prompt/@OkFunction/@Request/@Success/@Code/@success
                                    sname
                                    success
                                    sdescriptors
                                    xworker.extjs.Function/@Code/@SubCode
                                    sth_createIndex
                                    false
                                    sth_mark
                                    false
                                    sid
                                    success
                                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_/@handler/@Prompt/@OkFunction/@Request/@Success/@Code/@success/@GridReloadRecords
                                      sname
                                      GridReloadRecords
                                      suseGridStoreVar
                                      false
                                      sgridName
                                      '${data.idPrefix?if_exists}_fileListGridPanel'
                                      sgridStoreVarName
                                      store
                                      sdescriptors
                                      xworker.web.app.view.extjs.widgets.grid.DataObjectGridFunctions/@GridReloadRecods
                                      sth_createIndex
                                      false
                                      sth_registMyChilds
                                      false
                                      sth_mark
                                      false
                                      sid
                                      GridReloadRecords
                                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_createMenuIButton_/@handler/@Prompt/@OkFunction/@Request/@Success/@Code/@success/@AddTreeNode
                                      sname
                                      AddTreeNode
                                      suseVar
                                      false
                                      streeId
                                      '${data.idPrefix?if_exists}_TreePanel'
                                      streeVarName
                                      tree
                                      stype
                                      child
                                      snodeText
                                      obj.data.name
                                      snodeIcon
                                      'icons/folder.gif'
                                      snodeId
                                      obj.data.id
                                      snodeLeaf
                                      false
                                      snodeDataId
                                      obj.data.id
                                      snodeTabId
                                      obj.data.id
                                      snodeUrl
                                      ''
                                      snodeExpandable
                                      false
                                      sdescriptors
                                      xworker.web.app.view.extjs.widgets.trees.TreeFunctions/@AddTreeNode
                                      sth_createIndex
                                      false
                                      sth_registMyChilds
                                      false
                                      sth_mark
                                      false
                                      sid
                                      AddTreeNode
                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_uploadFileButton_
                      LallowDepress
                      false
                      LautoWidth
                      false
                      Ldisabled
                      false
                      LenableToggle
                      false
                      LhandleMouseEvents
                      true
                      Lhidden
                      false
                      siconAlign
                      'left'
                      Lpressed
                      false
                      sscale
                      'small'
                      stext
                      ''
                      stooltipType
                      'qtip'
                      stype
                      'button'
                      sautoHeight
                      false
                      sautoScroll
                      false
                      sallowDomMove
                      true
                      sautoShow
                      false
                      LhideLabel
                      false
                      LhideParent
                      false
                      sid
                      '${data.idPrefix?if_exists}_uploadFileButton'
                      Lstateful
                      true
                      sname
                      uploadFileButton
                      shaveTypeInCode
                      false
                      suseChildExtThing
                      false
                      svarglobal
                      false
                      sanimFloat
                      true
                      sautoHide
                      true
                      scollapseMode
                      undefined
                      scollapsible
                      false
                      sfloatable
                      true
                      ssplit
                      false
                      sdescriptors
                      xworker.extjs.Items/@Button
                      sth_createIndex
                      false
                      sth_registMyChilds
                      false
                      sth_mark
                      false
                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_
                      LallowDepress
                      false
                      LautoWidth
                      false
                      Ldisabled
                      false
                      LenableToggle
                      false
                      LhandleMouseEvents
                      true
                      Lhidden
                      false
                      sicon
                      'icons/textfield.png'
                      siconAlign
                      'left'
                      Lpressed
                      false
                      sscale
                      'small'
                      stext
                      '重命名'
                      stooltipType
                      'qtip'
                      stype
                      'button'
                      sautoHeight
                      false
                      sautoScroll
                      false
                      sallowDomMove
                      true
                      sautoShow
                      false
                      LhideLabel
                      false
                      LhideParent
                      false
                      sid
                      '${data.idPrefix?if_exists}_renameButton'
                      Lstateful
                      true
                      sname
                      renameButton
                      shaveTypeInCode
                      false
                      suseChildExtThing
                      false
                      svarglobal
                      false
                      sanimFloat
                      true
                      sautoHide
                      true
                      scollapseMode
                      undefined
                      scollapsible
                      false
                      sfloatable
                      true
                      ssplit
                      false
                      sdescriptors
                      xworker.extjs.Items/@Button
                      sth_createIndex
                      false
                      sth_registMyChilds
                      false
                      sth_mark
                      false
                        @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler
                        sname
                        handler
                        suseChildsCode
                        true
                        shaveTypeInCode
                        false
                        suseChildExtThing
                        false
                        svarglobal
                        false
                        schildsAppendMethod
                        tail
                        sdescriptors
                        xworker.extjs.Ext.Button/@24224
                        sth_createIndex
                        false
                        sth_registMyChilds
                        false
                        sth_mark
                        false
                        sid
                        handler
                          @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@GridSelectRows
                          sname
                          GridSelectRows
                          suseGridVar
                          false
                          sgridName
                          '${data.idPrefix?if_exists}_fileListGridPanel'
                          sgridVarName
                          grid
                          sxworkerExists
                          false
                          sdataVarName
                          datas
                          sreturnOnNoRowSelected
                          true
                          salertOnNoRows
                          true
                          snoRowsAlertTitle
                          '提示'
                          snoRowsAlertMessage
                          '请先选择一条记录！'
                          sdescriptors
                          xworker.web.app.view.extjs.widgets.grid.DataObjectGridFunctions/@GridSelectRows
                          sth_createIndex
                          false
                          sth_registMyChilds
                          false
                          sth_mark
                          false
                          sid
                          GridSelectRows
                          @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@Prompt
                          sname
                          Prompt
                          stitle
                          '重命名'
                          smessage
                          '请输入新的名字'
                          sscope
                          this
                          smultiline
                          false
                          svalue
                          datas[0].get('name')
                          sdescriptors
                          xworker.extjs.functions.Msg/@Prompt
                          sth_createIndex
                          false
                          sth_registMyChilds
                          false
                          sth_mark
                          false
                          sid
                          Prompt
                            @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@Prompt/@OkFunction
                            sname
                            OkFunction
                            suseChildsCode
                            true
                            shaveTypeInCode
                            false
                            suseChildExtThing
                            false
                            svarglobal
                            false
                            schildsAppendMethod
                            tail
                            sdescriptors
                            xworker.extjs.functions.Msg/@Prompt/@OkFunction
                            sth_createIndex
                            false
                            sth_registMyChilds
                            false
                            sth_mark
                            false
                            sid
                            OkFunction
                              @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@Prompt/@OkFunction/@Request
                              sname
                              Request
                              surl
                              'do'
                              smethod
                              'POST'
                              Sparams
#$@text#$@
{
    sc:'xworker.app.view.extjs.tools.fileManager.ShowFile',
    command:'rename',
    id:datas[0].id,
    name:text,
    checker:'${data.getMetadata().getPath()}'
}
#$@text#$@
                              sdescriptors
                              xworker.extjs.functions.Ajax/@Request
                              sth_createIndex
                              false
                              sth_registMyChilds
                              false
                              sth_mark
                              false
                              sid
                              Request
                                @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@Prompt/@OkFunction/@Request/@Success
                                sname
                                Success
                                suseChildsCode
                                true
                                Scode
#$@text#$@
var obj = Ext.decode(response.responseText);
Ext.Msg.alert('删除文件', obj.msg);
#$@text#$@
                                shaveTypeInCode
                                false
                                suseChildExtThing
                                false
                                svarglobal
                                false
                                schildsAppendMethod
                                tail
                                sdescriptors
                                xworker.extjs.functions.Ajax/@Request/@Success
                                sth_createIndex
                                false
                                sth_registMyChilds
                                false
                                sth_mark
                                false
                                sid
                                Success
                                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@Prompt/@OkFunction/@Request/@Success/@Code
                                  sname
                                  Code
                                  Scode
#$@text#$@
var obj = Ext.decode(response.responseText);
if(obj.success){
    ${r"$"}{success?if_exists}
    if(!obj.data.isFile){
        ${r"$"}{renameTreeNode?if_exists}
    }
}else{
    if(obj.msg && obj.msg != ''){
        Ext.Msg.alert('重命名', obj.msg);
    }
}
#$@text#$@
                                  sdescriptors
                                  xworker.extjs.Function/@Code
                                  sth_createIndex
                                  false
                                  sth_mark
                                  false
                                  sid
                                  Code
                                    @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@Prompt/@OkFunction/@Request/@Success/@Code/@success
                                    sname
                                    success
                                    sdescriptors
                                    xworker.extjs.Function/@Code/@SubCode
                                    sth_createIndex
                                    false
                                    sth_mark
                                    false
                                    sid
                                    success
                                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@Prompt/@OkFunction/@Request/@Success/@Code/@success/@GridReloadRecords
                                      sname
                                      GridReloadRecords
                                      suseGridStoreVar
                                      false
                                      sgridName
                                      '${data.idPrefix?if_exists}_fileListGridPanel'
                                      sgridStoreVarName
                                      store
                                      sdescriptors
                                      xworker.web.app.view.extjs.widgets.grid.DataObjectGridFunctions/@GridReloadRecods
                                      sth_createIndex
                                      false
                                      sth_registMyChilds
                                      false
                                      sth_mark
                                      false
                                      sid
                                      GridReloadRecords
                                    @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@Prompt/@OkFunction/@Request/@Success/@Code/@renameTreeNode
                                    sname
                                    renameTreeNode
                                    sdescriptors
                                    xworker.extjs.Function/@Code/@SubCode
                                    sth_createIndex
                                    false
                                    sth_registMyChilds
                                    false
                                    sth_mark
                                    false
                                    sid
                                    renameTreeNode
                                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_renameButton_/@handler/@Prompt/@OkFunction/@Request/@Success/@Code/@renameTreeNode/@UpdateTreeNode
                                      sname
                                      UpdateTreeNode
                                      suseVar
                                      false
                                      streeId
                                      '${data.idPrefix?if_exists}_TreePanel'
                                      streeVarName
                                      tree
                                      snodeText
                                      obj.data.name
                                      snodeId
                                      obj.data.oldId
                                      snodeNewId
                                      obj.data.id
                                      sdescriptors
                                      xworker.web.app.view.extjs.widgets.trees.TreeFunctions/@UpdateTreeNode
                                      sth_createIndex
                                      false
                                      sth_registMyChilds
                                      false
                                      sth_mark
                                      false
                                      sid
                                      UpdateTreeNode
                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_
                      LallowDepress
                      false
                      LautoWidth
                      false
                      Ldisabled
                      false
                      LenableToggle
                      false
                      LhandleMouseEvents
                      true
                      Lhidden
                      false
                      sicon
                      'icons/cancel.png'
                      siconAlign
                      'left'
                      Lpressed
                      false
                      sscale
                      'small'
                      stext
                      '删除'
                      stooltipType
                      'qtip'
                      stype
                      'button'
                      sautoHeight
                      false
                      sautoScroll
                      false
                      sallowDomMove
                      true
                      sautoShow
                      false
                      LhideLabel
                      false
                      LhideParent
                      false
                      sid
                      '${data.idPrefix?if_exists}_deleteButton'
                      Lstateful
                      true
                      sname
                      deleteButton
                      shaveTypeInCode
                      false
                      suseChildExtThing
                      false
                      svarglobal
                      false
                      sanimFloat
                      true
                      sautoHide
                      true
                      scollapseMode
                      undefined
                      scollapsible
                      false
                      sfloatable
                      true
                      ssplit
                      false
                      sdescriptors
                      xworker.extjs.Items/@Button
                      sth_createIndex
                      false
                      sth_registMyChilds
                      false
                      sth_mark
                      false
                        @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler
                        sname
                        handler
                        suseChildsCode
                        true
                        shaveTypeInCode
                        false
                        suseChildExtThing
                        false
                        svarglobal
                        false
                        schildsAppendMethod
                        tail
                        sdescriptors
                        xworker.extjs.Ext.Button/@24224
                        sth_createIndex
                        false
                        sth_registMyChilds
                        false
                        sth_mark
                        false
                        sid
                        handler
                          @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler/@Confirm
                          sname
                          Confirm
                          stitle
                          '删除文件'
                          smessage
                          '确定要删除选中的文件或目录么？'
                          sdescriptors
                          xworker.extjs.functions.Msg/@Prompt1
                          sth_createIndex
                          false
                          sth_registMyChilds
                          false
                          sth_mark
                          false
                          sid
                          Confirm
                            @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler/@Confirm/@OkFunction
                            sname
                            OkFunction
                            suseChildsCode
                            true
                            shaveTypeInCode
                            false
                            suseChildExtThing
                            false
                            svarglobal
                            false
                            schildsAppendMethod
                            tail
                            sdescriptors
                            xworker.extjs.functions.Msg/@Prompt1/@OkFunction
                            sth_createIndex
                            false
                            sth_registMyChilds
                            false
                            sth_mark
                            false
                            sid
                            OkFunction
                              @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler/@Confirm/@OkFunction/@GridSelectRows
                              sname
                              GridSelectRows
                              suseGridVar
                              false
                              sgridName
                              '${data.idPrefix?if_exists}_fileListGridPanel'
                              sgridVarName
                              grid
                              sxworkerExists
                              false
                              sdataVarName
                              datas
                              sreturnOnNoRowSelected
                              true
                              salertOnNoRows
                              true
                              snoRowsAlertTitle
                              '提示'
                              snoRowsAlertMessage
                              '请先选择一条记录！'
                              sdescriptors
                              xworker.web.app.view.extjs.widgets.grid.DataObjectGridFunctions/@GridSelectRows
                              sth_createIndex
                              false
                              sth_registMyChilds
                              false
                              sth_mark
                              false
                              sid
                              GridSelectRows
                              @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler/@Confirm/@OkFunction/@Request
                              sname
                              Request
                              surl
                              'do'
                              smethod
                              'POST'
                              Sparams
#$@text#$@
{
    sc:'xworker.app.view.extjs.tools.fileManager.ShowFile',
    command:'delete',
    id:datas[0].id,
    checker:'${data.getMetadata().getPath()}'
}
#$@text#$@
                              sdescriptors
                              xworker.extjs.functions.Ajax/@Request
                              sth_createIndex
                              false
                              sth_registMyChilds
                              false
                              sth_mark
                              false
                              sid
                              Request
                                @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler/@Confirm/@OkFunction/@Request/@Success
                                sname
                                Success
                                suseChildsCode
                                true
                                Scode
#$@text#$@
var obj = Ext.decode(response.responseText);
Ext.Msg.alert('删除文件', obj.msg);
#$@text#$@
                                shaveTypeInCode
                                false
                                suseChildExtThing
                                false
                                svarglobal
                                false
                                schildsAppendMethod
                                tail
                                sdescriptors
                                xworker.extjs.functions.Ajax/@Request/@Success
                                sth_createIndex
                                false
                                sth_registMyChilds
                                false
                                sth_mark
                                false
                                sid
                                Success
                                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler/@Confirm/@OkFunction/@Request/@Success/@Code
                                  sname
                                  Code
                                  Scode
#$@text#$@
var obj = Ext.decode(response.responseText);
if(obj.success){
    ${r"$"}{success?if_exists}
}else{
    Ext.Msg.alert('删除文件', obj.msg);
}
#$@text#$@
                                  sdescriptors
                                  xworker.extjs.Function/@Code
                                  sth_createIndex
                                  false
                                  sth_mark
                                  false
                                  sid
                                  Code
                                    @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler/@Confirm/@OkFunction/@Request/@Success/@Code/@success
                                    sname
                                    success
                                    sdescriptors
                                    xworker.extjs.Function/@Code/@SubCode
                                    sth_createIndex
                                    false
                                    sth_mark
                                    false
                                    sid
                                    success
                                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler/@Confirm/@OkFunction/@Request/@Success/@Code/@success/@GridReloadRecords
                                      sname
                                      GridReloadRecords
                                      suseGridStoreVar
                                      false
                                      sgridName
                                      '${data.idPrefix?if_exists}_fileListGridPanel'
                                      sgridStoreVarName
                                      store
                                      sdescriptors
                                      xworker.web.app.view.extjs.widgets.grid.DataObjectGridFunctions/@GridReloadRecods
                                      sth_createIndex
                                      false
                                      sth_registMyChilds
                                      false
                                      sth_mark
                                      false
                                      sid
                                      GridReloadRecords
                                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@tbar/@Items/@_deleteButton_/@handler/@Confirm/@OkFunction/@Request/@Success/@Code/@success/@DeleteTreeNode
                                      sname
                                      DeleteTreeNode
                                      suseVar
                                      false
                                      streeId
                                      '${data.idPrefix?if_exists}_TreePanel'
                                      streeVarName
                                      tree
                                      streeNodeId
                                      obj.data.id
                                      sdescriptors
                                      xworker.web.app.view.extjs.widgets.trees.TreeFunctions/@DeleteTreeNode
                                      sth_createIndex
                                      false
                                      sth_registMyChilds
                                      false
                                      sth_mark
                                      false
                                      sid
                                      DeleteTreeNode
                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@12563
                  sname
                  selModel
                  sdescriptors
                  xworker.extjs.Ext.grid.GridPanel/@25028
                  sth_createIndex
                  false
                  sid
                  12563
                    @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@12563/@12564
                    LmoveEditorOnEnter
                    false
                    LsingleSelect
                    false
                    sname
                    RowSelectionModel
                    sdescriptors
                    xworker.extjs.Ext.grid.GridPanel/@25028/@RowSelectionModel
                    sth_createIndex
                    false
                    sid
                    12564
                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@12563/@12564/@12565
                      sname
                      listeners
                      sdescriptors
                      xworker.extjs.Ext.grid.RowSelectionModel/@25649
                      sth_createIndex
                      false
                      sid
                      12565
                        @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@12563/@12564/@12565/@12566
                        sname
                        rowselect
                        sparams
                        model,rowIndex,keepExisting,record
                        suseChildsCode
                        true
                        shaveTypeInCode
                        false
                        suseChildExtThing
                        false
                        svarglobal
                        false
                        schildsAppendMethod
                        tail
                        sdescriptors
                        xworker.extjs.Ext.grid.RowSelectionModel/@25649/@beforerowselect
                        sth_createIndex
                        false
                        sid
                        12566
                          @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@12563/@12564/@12565/@12566/@Enable
                          sname
                          Enable
                          scomponents
                          ${data.idPrefix?if_exists}_uploadFileButton,${data.idPrefix?if_exists}_renameButton,${data.idPrefix?if_exists}_deleteButton
                          ssplitedVar
                          cmps
                          sdescriptors
                          xworker.extjs.functions.EnableDisable/@Enable
                          sth_createIndex
                          false
                          sth_registMyChilds
                          false
                          sth_mark
                          false
                          sid
                          Enable
                          @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@fileListGridPanel/@12563/@12564/@12565/@12566/@Code
                          sname
                          Code
                          Scode
#$@text#$@
var panel = Ext.getCmp('${data.idPrefix?if_exists}_previewPanel');
panel.load({url:'do?sc=xworker.web.app.view.extjs.tools.fileManager.ViewFile&path=' + record.get('webPath')});
#$@text#$@
                          sdescriptors
                          xworker.extjs.Function/@Code
                          sinheritDescription
                          false
                          sth_createIndex
                          false
                          sth_registMyChilds
                          false
                          sth_registDisabled
                          false
                          sth_mark
                          false
                          sid
                          Code
                @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_
                LanimScroll
                true
                LautoTabs
                false
                LdeferredRender
                true
                LenableTabScroll
                false
                LlayoutOnTabChange
                false
                Lplain
                false
                LresizeTabs
                false
                fscrollDuration
                0.0
                LanimCollapse
                false
                LbodyBorder
                true
                Lborder
                true
                sbuttonAlign
                'right'
                Lclosable
                false
                LcollapseFirst
                true
                Lcollapsed
                false
                Lcollapsible
                false
                Ldisabled
                false
                Lfooter
                false
                Lframe
                false
                Lheader
                false
                LheaderAsText
                true
                LhideCollapseTool
                false
                LmaskDisabled
                true
                LpreventBodyReset
                false
                Lshim
                true
                LtitleCollapse
                false
                Lunstyled
                false
                LautoDestroy
                true
                LforceLayout
                false
                LhideBorders
                false
                LmonitorResize
                true
                sautoHeight
                false
                sautoScroll
                false
                sautoWidth
                false
                sheight
                400
                sregion
                'south'
                sallowDomMove
                true
                sautoShow
                false
                Lhidden
                false
                LhideLabel
                false
                LhideParent
                false
                sid
                '${data.idPrefix?if_exists}_fileTabPanel'
                Lstateful
                true
                sname
                fileTabPanel
                shaveTypeInCode
                false
                suseChildExtThing
                false
                svarglobal
                false
                sanimFloat
                true
                sautoHide
                true
                scollapseMode
                undefined
                sfloatable
                true
                ssplit
                true
                sdescriptors
                xworker.extjs.Items/@TabPanel
                sinheritDescription
                false
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_registDisabled
                false
                sth_mark
                false
                  @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items
                  sname
                  items
                  sdescriptors
                  xworker.extjs.Ext.Container/@24354
                  sinheritDescription
                  false
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_registDisabled
                  false
                  sth_mark
                  false
                  sid
                  items
                    @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@_-previewPanel_
                    LanimCollapse
                    false
                    LbodyBorder
                    true
                    Lborder
                    true
                    sbuttonAlign
                    'right'
                    Lclosable
                    false
                    LcollapseFirst
                    true
                    Lcollapsed
                    false
                    Lcollapsible
                    false
                    Ldisabled
                    false
                    Lfooter
                    false
                    Lframe
                    false
                    Lheader
                    false
                    LheaderAsText
                    true
                    LhideCollapseTool
                    false
                    LmaskDisabled
                    true
                    LpreventBodyReset
                    false
                    Lshim
                    true
                    stitle
                    '文件预览'
                    LtitleCollapse
                    false
                    Lunstyled
                    false
                    LautoDestroy
                    true
                    LforceLayout
                    false
                    LhideBorders
                    false
                    LmonitorResize
                    true
                    sautoHeight
                    false
                    sautoScroll
                    false
                    sautoWidth
                    false
                    sallowDomMove
                    true
                    sautoShow
                    false
                    Lhidden
                    false
                    LhideLabel
                    false
                    LhideParent
                    false
                    sid
                    '${data.idPrefix?if_exists}_previewPanel'
                    Lstateful
                    true
                    sname
                    previewPanel
                    shaveTypeInCode
                    false
                    suseChildExtThing
                    false
                    svarglobal
                    false
                    sanimFloat
                    true
                    sautoHide
                    true
                    scollapseMode
                    undefined
                    sfloatable
                    true
                    ssplit
                    false
                    sdescriptors
                    xworker.extjs.Items/@Panel
                    sinheritDescription
                    false
                    sth_createIndex
                    false
                    sth_registMyChilds
                    false
                    sth_registDisabled
                    false
                    sth_mark
                    false
                    @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel
                    sloadMask
                    true
                    sdataObject
                    xworker.web.app.view.extjs.tools.fileManager.FileUploadProgressDataObject
                    LautoEncode
                    false
                    LforceValidation
                    false
                    LcolumnLines
                    false
                    LdeferRowRender
                    true
                    LdisableSelection
                    false
                    LenableColumnHide
                    true
                    LenableColumnMove
                    true
                    LenableColumnResize
                    true
                    LenableDragDrop
                    false
                    LenableHdMenu
                    true
                    LhideHeaders
                    false
                    LstripeRows
                    false
                    LtrackMouseOver
                    true
                    LanimCollapse
                    false
                    LbodyBorder
                    true
                    Lborder
                    true
                    sbuttonAlign
                    'right'
                    Lclosable
                    false
                    LcollapseFirst
                    true
                    Lcollapsed
                    false
                    Lcollapsible
                    false
                    Ldisabled
                    false
                    Lfooter
                    false
                    Lframe
                    false
                    Lheader
                    false
                    LheaderAsText
                    true
                    LhideCollapseTool
                    false
                    LmaskDisabled
                    true
                    LpreventBodyReset
                    false
                    Lshim
                    true
                    stitle
                    '上传进度'
                    LtitleCollapse
                    false
                    Lunstyled
                    false
                    LautoDestroy
                    true
                    LforceLayout
                    false
                    LhideBorders
                    false
                    LmonitorResize
                    true
                    sautoHeight
                    false
                    sautoScroll
                    false
                    sautoWidth
                    false
                    sallowDomMove
                    true
                    sautoShow
                    false
                    Lhidden
                    false
                    LhideLabel
                    false
                    LhideParent
                    false
                    sid
                    '${data.idPrefix?if_exists}_batchUploadAppGrid'
                    Lstateful
                    true
                    sname
                    DataObjectGridPanel
                    shaveTypeInCode
                    false
                    suseChildExtThing
                    false
                    svarglobal
                    false
                    sanimFloat
                    true
                    sautoHide
                    true
                    scollapseMode
                    undefined
                    sfloatable
                    true
                    ssplit
                    false
                    sdescriptors
                    xworker.web.app.view.extjs.widgets.AppItems/@DataObjectGridPanel
                    sth_createIndex
                    false
                    sth_mark
                    false
                      @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel/@listeners
                      sname
                      listeners
                      sdescriptors
                      xworker.extjs.Ext.Panel/@listeners
                      sth_createIndex
                      false
                      sth_registMyChilds
                      false
                      sth_mark
                      false
                      sid
                      listeners
                        @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel/@listeners/@render
                        sname
                        afterrender
                        suseChildsCode
                        true
                        shaveTypeInCode
                        false
                        suseChildExtThing
                        false
                        svarglobal
                        false
                        schildsAppendMethod
                        tail
                        sdescriptors
                        xworker.extjs.ExtThing/@thing
                        sth_createIndex
                        false
                        sth_registMyChilds
                        false
                        sth_mark
                        false
                        sid
                        render
                          @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel/@listeners/@render/@Code
                          sname
                          Code
                          suseChildsCode
                          false
                          Scode
#$@text#$@
var placeHolderId = Ext.id();
var em = Ext.get('${data.idPrefix?if_exists}_uploadFileButton').child('em');
em.insertFirst({tag: 'span', id: placeHolderId});
//em.insertFirst({tag: 'img', src: 'icons/folder_go.png'});
#$@text#$@
                          shaveTypeInCode
                          false
                          suseChildExtThing
                          false
                          svarglobal
                          false
                          schildsAppendMethod
                          tail
                          sdescriptors
                          xworker.extjs.Items/@Code
                          sth_createIndex
                          false
                          sth_registMyChilds
                          false
                          sth_mark
                          false
                          sid
                          Code
                          @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel/@listeners/@render/@SwfUpload
                          supload_url
                          'do?sc=xworker.web.app.view.extjs.tools.fileManager.ShowFile&command=uploadFile&checker=${data.getMetadata().getPath()}'
                          sfile_post_name
                          'file'
                          Spost_params
#$@text#$@
{
    dirFile: ''
}
#$@text#$@
                          suse_query_string
                          false
                          spreserve_relative_urls
                          false
                          srequeue_on_error
                          false
                          sfile_types
                          *.*
                          sflash_url
                          'js/swfupload/swfupload.swf'
                          sprevent_swf_caching
                          true
                          sdebug
                          false
                          sbutton_placeholder_id
                          placeHolderId
                          sbutton_image_url
                          'icons/folder_go.png'
                          sbutton_width
                          Ext.get('${data.idPrefix?if_exists}_createFolderButton').child('button').getWidth()
                          sbutton_height
                          Ext.get('${data.idPrefix?if_exists}_uploadFileButton').child('button').getHeight() +1
                          sbutton_text
                          '上传文件'
                          sbutton_text_top_padding
                          3
                          sbutton_text_left_padding
                          18
                          sbutton_cursor
                          SWFUpload.CURSOR.HAND
                          sbutton_window_mode
                          SWFUpload.WINDOW_MODE.TRANSPARENT
                          Scustom_settings
#$@text#$@
{
}
#$@text#$@
                          svarname
                          swtUpload
                          sname
                          SwfUpload
                          slabel
                          swtUpload
                          sdescriptors
                          xworker.html.swfupload.SwfUpload
                          sth_createIndex
                          false
                          sth_mark
                          false
                          sid
                          SwfUpload
                            @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel/@listeners/@render/@SwfUpload/@file_queued_handler
                            sparams
                            file
                            sname
                            file_queued_handler
                            suseChildsCode
                            true
                            sdescriptors
                            xworker.html.swfupload.SwfUpload/@fileQueued
                            sth_createIndex
                            false
                            sth_mark
                            false
                            sid
                            file_queued_handler
                              @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel/@listeners/@render/@SwfUpload/@file_queued_handler/@Code
                              sname
                              Code
                              Scode
#$@text#$@
var store = Ext.StoreMgr.get('${data.idPrefix?if_exists}_batchUploadAppGrid_store');

var gridStoreRecord = {
    theId: file.id,
    fileName: file.name,
    progress: '等待上传',
    status:0
};

//alert(file.id);
var record = new store.recordType(gridStoreRecord, file.id);
store.insert(store.getCount(), record);

var postobj = {
    dirFile: Ext.getCmp('${data.idPrefix?if_exists}_TreePanel').fileId,
    fileName: file.name,
    checker: '${data.getMetadata().getPath()}'
};

//alert(Ext.getCmp('_xworker_fileManager_TreePanel').fileId);
swtUpload.setPostParams(postobj);
swtUpload.startUpload();
#$@text#$@
                              sdescriptors
                              xworker.extjs.Function/@Code
                              sth_createIndex
                              false
                              sth_mark
                              false
                              sid
                              Code
                            @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel/@listeners/@render/@SwfUpload/@upload_progress_handler
                            sparams
                            file,completeBytes,totalBytes
                            sname
                            upload_progress_handler
                            suseChildsCode
                            false
                            Scode
#$@text#$@
var store = Ext.StoreMgr.get('${data.idPrefix?if_exists}_batchUploadAppGrid_store');
var record = store.getById(file.id);
if(record != undefined){
    record.beginEdit();
    if(completeBytes == totalBytes){
        record.set("progress", '服务器正在保存文件...');
    }else{
        record.set("progress", '' + Math.round(100 * completeBytes/totalBytes) + '%');
    }
    record.endEdit();
}
#$@text#$@
                            sdescriptors
                            xworker.html.swfupload.SwfUpload/@uploadProgress
                            sth_createIndex
                            false
                            sth_mark
                            false
                            sid
                            upload_progress_handler
                            @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel/@listeners/@render/@SwfUpload/@upload_complete_handler
                            sparams
                            file
                            sname
                            upload_complete_handler
                            suseChildsCode
                            false
                            Scode
#$@text#$@
//var window = Ext.getCmp('batchUploadAppWindow');
//swtUpload.startUpload();
#$@text#$@
                            sdescriptors
                            xworker.html.swfupload.SwfUpload/@uploadComplete
                            sth_createIndex
                            false
                            sth_mark
                            false
                            sid
                            upload_complete_handler
                            @/@actions/@toJavaScriptCode/@ThingTemplate/@_fileManagerPanel_/@items/@mainPanel/@items/@‘fileTabPanel_/@items/@DataObjectGridPanel/@listeners/@render/@SwfUpload/@upload_success_handler
                            sparams
                            file,data,response
                            sname
                            upload_success_handler
                            suseChildsCode
                            false
                            Scode
#$@text#$@
var rs = Ext.decode(data);
var store = Ext.StoreMgr.get('${data.idPrefix?if_exists}_batchUploadAppGrid_store');
var record = store.getById(file.id);
store.remove(record);
/*
if(record != undefined){
    record.beginEdit();
    record.set("progress", rs.msg);
    record.set("status", 1);
    record.endEdit();
}
*/
Ext.Msg.alert('文件上传', rs.msg);
if(rs.success){
    var filesStore = Ext.StoreMgr.get('${data.idPrefix?if_exists}_fileListGridPanel_store');
    filesStore.reload();
}
#$@text#$@
                            sdescriptors
                            xworker.html.swfupload.SwfUpload/@uploadSuccess
                            sth_createIndex
                            false
                            sth_mark
                            false
                            sid
                            upload_success_handler
  @/@name
  sname
  name
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  name
  @/@label
  sname
  label
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  label
  @/@title
  sname
  title
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  title
  @/@idPrefix
  sname
  idPrefix
  ssize
  40
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  idPrefix
  @/@authorityChecker
  sname
  authorityChecker
  sinputtype
  dataSelector
  ssize
  60
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  authorityChecker
  @/@description
  sname
  description
  sinputtype
  html
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  description
  @/@FileTreeModel
  sname
  FileTreeModel
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.dataObject.app.model.tree.swtimpl.FileTreeModel
  smany
  true
  seditCols
  2
  sformNoLabel
  false
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  true
  snotXmlAttribute
  false
  sjson_isArray
  false
  sjson_attribute
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  FileTreeModel
  @/@actions1
  sname
  actions
  slabel
  Actions
  sdescriptors
  xworker.lang.MetaDescriptor2/@thing
  sextends
  xworker.lang.actions.Actions
  smany
  true
  seditCols
  2
  Sdescription
#$@text#$@
<p>动作集合，通过子节点可以添加各种动作，动作通常是一个可执行的程序。</p>
<p>事物的第一个动作集合的子事物才可以作为事物的行为，第二个及其他动作集合就不能作为事物的行为使用了，事物的行为默认找第一个动作集合。</p>
<p>事物的run方法一般是这个事物转化为动作之后执行的方法。</p>
#$@text#$@
  szh_label
  动作
  sth_createIndex
  false
  sid
  actions1
    @/@actions1/@name
    sname
    name
    sdescriptors
    xworker.lang.MetaDescriptor2/@attribute
    sid
    name
