/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2020-12-11 16:15:08 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import wiseoa.*;
import wiseoa.util.*;
import wiseoa.code.jstl.*;
import java.util.*;
import java.net.*;
import wiseoa.*;
import jun.db.util.*;
import wiseoa.mail.jstl.*;

public final class treecode_005flist_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(1);
    _jspx_dependants.put("/rightverify_loginneedtest.jsp", Long.valueOf(1476341414363L));
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.release();
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("\r\n");
  
 
   //æ£æµæ¯å¦å¯¹æªç»å½ç¨æ·å¼æ¾
   User user_1211temp=User.getUserFromRequest( request);
   if (  user_1211temp.getId()<0 )
	 {
	   
	    System_BaseInfo gInfo= System_BaseInfo.getInstance(request);
	    if ( gInfo.GlobalConfig.get("openforlogineduser").toString().equals("1"))
		{
	    	
		    
		    String subpath=(String)session.getAttribute("wiseoaappsubpath" );
		    if ( subpath==null) subpath="";
		    String url=request.getRequestURI();
		    String qs= request.getQueryString();
		    if ( qs==null) qs="";
		    if ( !qs.equals("") ) qs="?"+qs;
		    url=jun.db.util.Escape.escape(url+qs); 
		    
		 	response.sendRedirect(  subpath+"/login.jsp?url="+url );
		 	return;
		}
	 }
 

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");


  TreeCodeSearchResult  b= new TreeCodeSearchResult(request);
  
  FF.pageContextSetAttribute(pageContext, "errorInfo", b.errorInfo);


      out.write("\r\n");
      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
      out.write("<HTML>\r\n");
      out.write("  <head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write("    <META http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("    \r\n");
      out.write("    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\">\r\n");
      out.write("    \t\r\n");
      out.write("\t \r\n");
      out.write("\t\t<link rel=\"STYLESHEET\" type=\"text/css\" href=\"dhtmlXGrid/css/dhtmlXGrid.css\">\r\n");
      out.write("\t\t<script src=\"dhtmlXGrid/dhtmlXCommon.js\"></script>\r\n");
      out.write("\t\t<script src=\"dhtmlXGrid/dhtmlXGrid.js\"></script>\r\n");
      out.write("\t\t<script src=\"dhtmlXGrid/dhtmlXGridCell.js\"></script>\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t<!-- grid format -->\r\n");
      out.write("\t<STYLE>\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t\r\n");
      out.write("\t\tbody {\r\n");
      out.write("\tmargin-left: 1px;\r\n");
      out.write("\tmargin-top: 0px;\r\n");
      out.write("\tmargin-right: 0px;\r\n");
      out.write("\tmargin-bottom: 0px;\r\n");
      out.write("\tbackground-color: #DDDEBA;\r\n");
      out.write("} \r\n");
      out.write("    \t.selectspan  { border:1px solid #a0a0a0;overflow:hidden;width:150;}\r\n");
      out.write("\t    .flatselect { width:154;margin:-2;}\r\n");
      out.write(" \r\n");
      out.write("\t</STYLE>\r\n");
      out.write("\t<script type=\"text/javascript\" src=\"menu/milonic_src.js\"></script>\t\r\n");
      out.write("\t<script  type=text/javascript src=menu/mmenudom.js></script> \r\n");
      out.write("\r\n");
      out.write("\t<script type=\"text/javascript\" src=\"js/treeCodeLeaf.js\"></script>\r\n");
      out.write("\t<script type=\"text/javascript\" src=\"menu/contextmenu.js\"></script>\r\n");
      out.write("\r\n");
      out.write("   <SCRIPT type=\"text/javascript\" src=\"js/jsrsClient_rev.js\"></SCRIPT>\t \r\n");
      out.write("\r\n");
      out.write("<SCRIPT>\r\n");
      out.write("  var tableid=  \t");
      out.print(b.tableID);
      out.write(";\r\n");
      out.write("  var tableName=  '");
      out.print(b.tableName);
      out.write("';\r\n");
      out.write("  var wiseoaPath=  '");
      if (_jspx_meth_c_005fout_005f0(_jspx_page_context))
        return;
      out.write("';\r\n");
      out.write(" \t</SCRIPT>\r\n");
      out.write(" \r\n");
      out.write("   \r\n");
      out.write("</head>\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<div id=\"gridbox\" width=\"100%\" height=\"100%\"\t\tstyle=\"background-color:white;\">\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  <script>\r\n");
      out.write("  \r\n");
      out.write("    var  errorInfo='");
      if (_jspx_meth_c_005fout_005f1(_jspx_page_context))
        return;
      out.write("';\r\n");
      out.write("    if( errorInfo!='') alert( errorInfo);\r\n");
      out.write("  \r\n");
      out.write("\tmygrid = new dhtmlXGridObject('gridbox');\r\n");
      out.write("\tmygrid.setImagePath(\"dhtmlXGrid/imgs/\");\r\n");
      out.write("\tmygrid.setHeader(\"");
      out.print(b.columnLabels);
      out.write("\");\r\n");
      out.write("\tmygrid.setInitWidths(\"");
      out.print(b.columnWidths);
      out.write("\");\r\n");
      out.write("\tmygrid.setColAlign(\"");
      out.print(b.columnAlighs);
      out.write("\");\r\n");
      out.write("\tmygrid.setColTypes(\"");
      out.print(b.columnEdits);
      out.write("\");\r\n");
      out.write("\tmygrid.setColSorting(\"");
      out.print(b.columnSorts);
      out.write("\");\r\n");
      out.write("\tmygrid.setColumnColor(\"");
      out.print(b.columnColors);
      out.write("\");\r\n");
      out.write("    mygrid.setSkin(\"xp\");\r\n");
      out.write("    mygrid.setMultiselect(true);\r\n");
      out.write("  \r\n");
      out.write("\tmygrid.init();\r\n");
      out.write("\t\r\n");
      out.write("\tmygrid.onRowDblClicked = function( rowid, cellIndex)\r\n");
      out.write("\t{\r\n");
      out.write("\t\t \r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t");
      out.print(b.dataScript);
      out.write("\r\n");
      out.write("\tsetTimeout( function()\r\n");
      out.write("\t{ \r\n");
      out.write("\t\tmygrid.setSizes();\r\n");
      out.write("\t},100);\r\n");
      out.write("\t\r\n");
      out.write("\t \r\n");
      out.write("\t\r\n");
      out.write("      \r\n");
      out.write(" \t//当刚打开代码页面时，未级代码窗口可能在本窗口加载完成前就已经完成\r\n");
      out.write(" \t// 因此在未级代码窗口调用本窗口的设置状态行的函数会发生异常\r\n");
      out.write("      try\r\n");
      out.write("      {\r\n");
      out.write("      parent.parent.frames(1).frames('mainFrame').setStatusbar();\r\n");
      out.write("      } catch(Err)\r\n");
      out.write("      {\r\n");
      out.write("      }\r\n");
      out.write("      \r\n");
      out.write("  \r\n");
      out.write("  </script>\r\n");
      out.write("  \r\n");
      out.write("  \t\t\t\t<form id='searchform'\r\n");
      out.write("\t\t\t\t\t\taction='treecode_list.jsp?tableid=");
      if (_jspx_meth_c_005fout_005f2(_jspx_page_context))
        return;
      out.write(" ' method='post'\t\tstyle='display:none'>\r\n");
      out.write("\t\t\t\t\t\t<INPUT type='hidden' id='billcount' name=\"billcount\"\tvalue=");
      out.print(b.RowCount);
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t<INPUT type='hidden' id='page' name='page' value=");
      out.print(b.PageNo);
      out.write(">\r\n");
      out.write("\t\t\t\t\t\t<INPUT type='hidden' id='key' name='key' value=''>\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t</form>\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_c_005fout_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f0 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f0.setParent(null);
    // /treecode_list.jsp(57,20) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f0.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${wiseoaappsubpath}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f0 = _jspx_th_c_005fout_005f0.doStartTag();
    if (_jspx_th_c_005fout_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f1 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f1.setParent(null);
    // /treecode_list.jsp(71,20) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f1.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${errorInfo}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f1 = _jspx_th_c_005fout_005f1.doStartTag();
    if (_jspx_th_c_005fout_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f2 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f2.setParent(null);
    // /treecode_list.jsp(114,40) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f2.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.tableid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f2 = _jspx_th_c_005fout_005f2.doStartTag();
    if (_jspx_th_c_005fout_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f2);
    return false;
  }
}
