^1640742941127
@
sname
FileBrowser
slabel
FileBrowser
sdescriptors
xworker.web.controls.SimpleControl
sth_createIndex
false
sth_registMyChilds
false
sth_mark
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.web.controls.SimpleControl/@actions
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@GroovyAction
    sname
    doAction
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Local
    sdisableGlobalContext
    false
    Scode
#$@text#$@
def docThing = world.getThing(requestBean.docPath);

if(docThing.getBoolean("isNeedLogin") && session.getAttribute(docThing.getMetadata().getPath()) == null){
    response.sendRedirect("do?sc=xworker.doc.treehtmldoc.AdminLogin&docPath=" + requestBean.docPath);
    return;
}

actionContext.getScope(0).put("rootPath", servlet.getServletContext().getRealPath("/"));
return "success";
#$@text#$@
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    GroovyAction
  @/@fileBrowser
  sname
  fileBrowser
  sbelongToHtml
  true
  stitle
  文件浏览器
  sstyle
  default
  shasHead
  false
  shasBottom
  false
  SotherHeads
#$@text#$@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<LINK REL ="stylesheet" TYPE="text/css" HREF="fckeditor/editor/css/fck_editorarea.css" TITLE="Style"/>
<script type="text/javascript" src="js/xworker/InnerBrowserUtil.js"></script>
<script type="text/javascript" src="${request.contextPath}/js/swfupload/swfupload.js"></script>
#$@text#$@
  sdescriptors
  xworker.web.controls.SimpleControl/@view
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  fileBrowser
    @/@fileBrowser/@JavaScript
    sname
    JavaScript
    suseChildsCode
    false
    Scode
#$@text#$@
var CKEditorFuncNum = ${requestBean.CKEditorFuncNum};
var fileRootPath = '${rootPath?js_string}';
#$@text#$@
    sdescriptors
    xworker.html.base.container.childs/@JavaScript
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    JavaScript
    @/@fileBrowser/@ExtJs
    sname
    ExtJs
    sdescriptors
    xworker.extjs.ExtHtmlWidgtes/@ExtJs
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    ExtJs
      @/@fileBrowser/@ExtJs/@_viewPort_
      sname
      viewPort
      sdescriptors
      xworker.extjs.Items/@Viewport
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      _viewPort_
        @/@fileBrowser/@ExtJs/@_viewPort_/@items
        sname
        items
        sdescriptors
        xworker.extjs.Ext.Container/@24354
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        items
          @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_
          sname
          Panel
          sdescriptors
          xworker.extjs.Items/@Panel
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          _mainPanel_
            @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@items
            sname
            items
            sdescriptors
            xworker.extjs.Ext.Container/@24354
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            items
              @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@items/@FileManager
              sname
              FileManager
              stitle
              '文件浏览'
              sidPrefix
              file
              sauthorityChecker
              xworker.orgweb.examples.FileBrowser/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@items/@FileManager
              sdescriptors
              xworker.web.app.view.extjs.tools.fileManager.FileManager
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              FileManager
                @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@items/@FileManager/@FileTreeModel
                sname
                FileTreeModel
                sdescriptors
                xworker.web.app.view.extjs.tools.fileManager.FileManager/@FileTreeModel
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                FileTreeModel
                  @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@items/@FileManager/@FileTreeModel/@actions
                  sname
                  actions
                  sdescriptors
                  xworker.dataObject.app.model.tree.TreeModel/@13208
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  actions
                    @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@items/@FileManager/@FileTreeModel/@actions/@getFilePath
                    sname
                    getFilePath
                    sisSynchronized
                    false
                    sthrowException
                    true
                    suseOtherAction
                    false
                    svarScope
                    Local
                    sdisableGlobalContext
                    false
                    scode
                    return servlet.getServletContext().getRealPath("/");
                    sinterpretationType
                    Action
                    screateLocalVarScope
                    false
                    ssaveReturn
                    false
                    sdescriptors
                    xworker.lang.actions.Actions/@GroovyAction
                    sth_createIndex
                    false
                    sth_registMyChilds
                    false
                    sth_mark
                    false
                    sid
                    getFilePath
                @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@items/@FileManager/@actions
                sname
                actions
                sdescriptors
                xworker.dataObject.app.model.tree.TreeModel/@13208
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                actions
                  @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@items/@FileManager/@actions/@check
                  sname
                  check
                  sisSynchronized
                  false
                  sthrowException
                  true
                  suseOtherAction
                  false
                  svarScope
                  Local
                  sdisableGlobalContext
                  false
                  Scode
#$@text#$@
def ok = session.getAttribute("__orgWebExampleAdmin__") != null;
log.info("okkkkkkkkkkkkkk=" + ok);
return ok;
#$@text#$@
                  sinterpretationType
                  Action
                  screateLocalVarScope
                  false
                  ssaveReturn
                  false
                  sdescriptors
                  xworker.lang.actions.Actions/@GroovyAction
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  check
            @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@buttons
            sname
            buttons
            sdescriptors
            xworker.extjs.Ext.Panel/@25325
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            buttons
              @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@buttons/@_okButton_
              sname
              okButton
              sdescriptors
              xworker.extjs.Items/@Button
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              _okButton_
                @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@buttons/@_okButton_/@handler
                sname
                handler
                sdescriptors
                xworker.extjs.Ext.Button/@24224
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                handler
                  @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@buttons/@_okButton_/@handler/@GridSelectRows
                  sname
                  GridSelectRows
                  suseGridVar
                  false
                  sgridName
                  'file_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
                  @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@buttons/@_okButton_/@handler/@Code
                  sname
                  Code
                  suseChildsCode
                  false
                  Scode
#$@text#$@
var filePath = datas[0].id;

filePath = filePath.substring(fileRootPath.length, filePath.length);
window.opener.CKEDITOR.tools.callFunction(CKEditorFuncNum,filePath);
window.close();
#$@text#$@
                  shaveTypeInCode
                  false
                  svarglobal
                  false
                  sdescriptors
                  xworker.html.base.scripts.JavaScript/@Code
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  Code
              @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@buttons/@_cancelButton_
              sname
              cancelButton
              sdescriptors
              xworker.extjs.Items/@Button
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              _cancelButton_
                @/@fileBrowser/@ExtJs/@_viewPort_/@items/@_mainPanel_/@buttons/@_cancelButton_/@handler
                sname
                handler
                sdescriptors
                xworker.extjs.Ext.Button/@24224
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                handler
  @/@success
  sname
  success
  stype
  form
  scontentType
  text/html;charset=UTF-8
  svalue
  xworker.doc.treehtmldoc.FileBrowser/@fileBrowser
  sdescriptors
  xworker.web.controls.SimpleControl/@result
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  success
