/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2021-12-29 11:57:42 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.util.*;
import wiseoa.*;
import jun.db.core.*;
import java.net.*;
import wiseoa.formdesign.jstl.*;
import wiseoa.home.*;

public final class workbook_005fdb_005ftable_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;

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

  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_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.release();
    _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.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");
      out.write(" \r\n");
  
	  
WorkBookRightVerify w= new WorkBookRightVerify( request);
FF.pageContextSetAttribute(pageContext , "canEdit", w.canEdit);
User user= User.getUserFromRequest(request);
if(user.getRole()!=1) 
{
 
	int id= FF.GetIntFromRequest(request,"id",0); 
	int reportid=   FF.GetIntFromSQL("", "select * from  oa_report where template_id="+id) ;
	if( reportid>0)
	{
		String url="system_report.jsp?id="+reportid; 
		int operationid=wiseoa.flow.applet.RBAC_Operation.$formDesign;
		if( wiseoa.WiseFilter.urlOnCommision(user, url, operationid)) //注意是反的
		{
			response.sendRedirect(  "SystemTip.jsp?info=" + URLEncoder.encode("抱歉，您无此权限", "UTF-8"));
			return ;
		}
		
	}
}

FF.pageContextSetAttribute(pageContext , "templatetype", w.type);

FF.pageContextSetAttribute(pageContext , "templateid", w.id);


 WorkBookDBTable  wbt= new WorkBookDBTable(request,   w.type,w.id );
 FF.pageContextSetAttribute(pageContext,"isMaster", wbt.isMaster);
 FF.pageContextSetAttribute(pageContext,"rowcount", wbt.rowcount);
 FF.pageContextSetAttribute(pageContext,"wheres", wbt.whereList);
 FF.pageContextSetAttribute(pageContext,"parent", wbt.parent);	 	    

      out.write("\r\n");
      out.write("\r\n");
      out.write(" \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("<META http-equiv=\"pragma\" content=\"no-cache\">\r\n");
      out.write("<META http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
      out.write("<META http-equiv=\"expires\" content=\"0\">\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("<TITLE></TITLE>\r\n");
      out.write("\t\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\">\r\n");
      out.write("\t\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"zbutton/zbutton.css\">\r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"zbutton/zbutton.js\"></SCRIPT>\r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"js/KeyDownFilter.js\"></SCRIPT>\r\n");
      out.write("\t\t   \r\n");
      out.write("\t\t<SCRIPT src=\"tab3/tab.js\" type=\"text/javascript\"></SCRIPT>\r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"js/jsrsClient_rev.js\"></SCRIPT>\t \r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"js/prototype14.js\"></SCRIPT>\t \r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"js/KeyDownFilter.js\"></SCRIPT>\r\n");
      out.write("\t\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"css/simplemenu.css\">   \r\n");
      out.write("\t\t\t   \r\n");
      out.write("\t\r\n");
      out.write(" \r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("\r\n");
      out.write("<table width=\"100%\" border=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td width=\"75%\"><span  >");
      out.print(wbt.name);
      out.write("&nbsp;表的属性：");
      if (_jspx_meth_c_005fif_005f0(_jspx_page_context))
        return;
      out.write("</span>&nbsp;</td>\r\n");
      out.write("    <td width=\"25%\" align=\"right\" nowrap>&nbsp;</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<hr size=\"1\" color=\"#E0E0E0\">\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("\t var t=new tab( 't');\r\n");
      out.write("\t \r\n");
      out.write("\t t.addTab('表的常规信息','tab1','',true );\r\n");
      out.write("\t t.addTab('动态检索条件','tab7','',true );\r\n");
      out.write("\t t.addTab('刷新字段','tab2','',true );\r\n");
      out.write("\t t.addTab('增加字段','tab3','',true );\r\n");
      out.write(" \t t.addTab('增加计算列','tab4','',true );\r\n");
      out.write("\t t.addTab('删除本数据源','tab5','',true );\r\n");
      out.write("\t t.addTab('列表显示','tab6','',true );\r\n");
      out.write("\t \r\n");
      out.write("\t \r\n");
      out.write("\t 　\r\n");
      out.write("　\r\n");
      out.write("\t t.create();\r\n");
      out.write("\t \r\n");
      out.write("\t \r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("<div id=tab1>\r\n");
      out.write("<p></p>\r\n");
      out.write("\r\n");
      out.write("     <table width=100%   border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"2\">\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td nowrap>名称(英文)：</td>\r\n");
      out.write("       <td  width=90%><input type=\"text\" class='textbox'  id=\"tablename\" readonly disabled value=\"");
      out.print(wbt.name);
      out.write("\"\r\n");
      out.write("\t    title=\"以字母开头，并由字母，数字，下划线_组成的名字。建议以 flow_为前缀\" ></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td  nowrap>表 的 含义：</td>\r\n");
      out.write("       <td ><input type=\"text\" class='textbox'  id=\"tablecomment\" value=\"");
      out.print(wbt.comment);
      out.write("\"></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td nowrap>数据库连接：</td>\r\n");
      out.write("       <td >");
      out.print( DSNList.DSNHTML("tabledsn"));
      out.write("\t   </td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr id= sizecontainer>\r\n");
      out.write("       <td>数 据 类型：</td>\r\n");
      out.write("       <td ><select name=\"tablerowtype\" id=\"tablerowtype\" class=\"textbox\" onChange=\"tableRowTypeChange()\">\r\n");
      out.write("         <option value=\"single\" selected>单行数据</option>\r\n");
      out.write("         <option value=\"multi\">多行数据</option>\r\n");
      out.write("                     </select></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     \r\n");
      out.write("    \r\n");
      out.write("        <tr  >\r\n");
      out.write("       <td nowrap>自动去除空格：</td>\r\n");
      out.write("       <td ><input   type=\"checkbox\"   name=autotrim  id=\"autotrim\"   value=\"1\"  size=9 >数据前后的空格自动去掉</td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr  >\r\n");
      out.write("       <td nowrap>导出时每文件多少行：</td>\r\n");
      out.write("       <td ><input name=\"text\" type=\"text\"  class=\"textbox\"  id=\"exportrowcountonce\" onKeyDown='KeyDownFilterLong();' value=\"1\"  size=9 ></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     \r\n");
      out.write("     <tr id=multidefaultrowcount>\r\n");
      out.write("       <td>缺 省 行数：</td>\r\n");
      out.write("       <td ><input name=\"text\" type=\"text\"  class=\"textbox\"  id=\"tabledefaultrowcount\" onKeyDown='KeyDownFilterLong();' value=\"1\"  size=9 ></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr id=multidefaultrowcount2>\r\n");
      out.write("       <td>排 序 规则：</td>\r\n");
      out.write("       <td align=\"right\"><input id=\"orderby\" type=\"text\"  class='textbox'   \r\n");
      out.write("\t    title=\"示例：　xh asc \" value=\"");
      out.print(wbt.orderby);
      out.write("\"  ></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     \r\n");
      out.write("      <tr id= parentcontainer>\r\n");
      out.write("       <td>上 级 表：</td>\r\n");
      out.write("       <td ><select name=\"parent\" id=\"parent\" class=\"textbox\"  >\r\n");
      out.write("       <option value=\"\">无</option>\r\n");
      out.write("       ");
      out.print(wbt.parentTableHTML);
      out.write("\r\n");
      out.write("                      </select> \r\n");
      out.write("                     </td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     \r\n");
      out.write("      <tr id= parentcontainer2>\r\n");
      out.write("       <td> </td>\r\n");
      out.write("       <td >   <span style=\"color:green;\">\r\n");
      out.write("       <ul><li>单行数据源无上级表属性</li>\r\n");
      out.write("       <li>多行数据源可以指定另一个多行数据源为它的上级表</li>\r\n");
      out.write("       <li>一个有上级表的多行数据源不允许再做其它表的上级表</li>\r\n");
      out.write("       <li>关联关系是：<b style='color:red'>本表.wise_parent.id = 上级表.id</b> 系统会自动维护数据的关联<br>请确保本表有一个名为wise_parent_id 类型是字符型长40的字段</li>\r\n");
      out.write("       </ul></span> \r\n");
      out.write("                     </td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td>&nbsp;</td>\r\n");
      out.write("       \r\n");
      out.write("       <td width=\"82%\" align=\"right\"><script>\r\n");
      out.write("\t   \r\n");
      out.write("\t   \t \r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\tvar cb =new zbutton('cb_table','提交','image/verify.gif');\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t       \r\n");
      out.write("\t   </script>       </td>\r\n");
      out.write("     </tr>\r\n");
      out.write("   </table>\r\n");
      out.write(" </div>\r\n");
      out.write(" \r\n");
      out.write(" <div id=tab2>\r\n");
      out.write(" \r\n");
      out.write(" <p></p> <br>\r\n");
      out.write(" &nbsp;&nbsp;&nbsp;&nbsp; 当通过其它工具修改数据库结构后，可以通过刷新字段，把结果集中的字段列出来，便于增加字段说明。\r\n");
      out.write(" <p align=\"center\">\r\n");
      out.write("  \t\t\r\n");
      out.write("       <script>\r\n");
      out.write("\t   \tfunction cb_refreshcolumn_onclick()\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t    var tablename=$('tablename').value;\r\n");
      out.write("\t\t   jsrsExecute(\"servlet/wiseoa.flow.jsprpc.FlowManage\", callback , \r\n");
      out.write("\t\t   \"refreshTableColumn\",  \t[ \"");
      if (_jspx_meth_c_005fout_005f0(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f1(_jspx_page_context))
        return;
      out.write("\" ,tablename  ],false);\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write(" \t\t\tvar cb =new zbutton('cb_refreshcolumn','刷新字段','image/refresh811.gif');\r\n");
      out.write(" \t   </script>   \r\n");
      out.write("\t   \r\n");
      out.write("   </p>\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write(" </div>\r\n");
      out.write(" \r\n");
      out.write(" <div id=tab7>\r\n");
      out.write(" \r\n");
      out.write(" <p></p> <br>\r\n");
      out.write(" &nbsp;&nbsp;&nbsp;&nbsp; 下面的每一行表示一个动态条件，每个动态条件通过一个表达式来定义，表达式的计算结果将做为检索条件(因此表达式的计算结果应该符合SQL语句where子句的语法)，\r\n");
      out.write("表达式中可以使用函数以及表单上的单元格名或别名。当表达式中包含单元格名称或别名时，在统计时，仅当这些单元格中有数据时，该动态条件才生效，否则该条件将被忽略。多个动态条件之间是“and”关系。\r\n");
      out.write("<br><span style=\"color:red\">表单打开时，这里的条件并不会生效，仅在使用脚本显示地调用smartRetrieve函数检索本表数据时才会生效</span>\r\n");
      out.write("<div id=wherecontainer  style=\"width:100%;height:300px;overflow:auto;\">\r\n");
      if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("<font color=green>提交后会自动在后面追加空行</font>\r\n");
      out.write("</div>\r\n");
      out.write("<p  align=\"center\">\r\n");
      out.write("  \t\t \r\n");
      out.write("  \t\t<input type=\"button\" value=\"&nbsp;提&nbsp;&nbsp;&nbsp;&nbsp;交&nbsp;\" onClick=\"cb_1_onclick();\"> \r\n");
      out.write("\r\n");
      out.write("       <script>\r\n");
      out.write("\t   \tfunction cb_1_onclick()\r\n");
      out.write("\t\t{\r\n");
      out.write("\r\n");
      out.write("\t   \t\tvar tablename=$('tablename').value;\r\n");
      out.write("\t\t\tvar objs=document.getElementsByName(\"where\");\r\n");
      out.write("\t\t\tvar p= new Array(43);\r\n");
      out.write("\t\t\tp[0]= \"");
      if (_jspx_meth_c_005fout_005f3(_jspx_page_context))
        return;
      out.write("\" ;\r\n");
      out.write("\t\t\tp[1]=  \"");
      if (_jspx_meth_c_005fout_005f4(_jspx_page_context))
        return;
      out.write("\" ;\r\n");
      out.write("\t\t\tp[2]= tablename;\r\n");
      out.write("\t\t\tvar n=objs.length;\r\n");
      out.write("\t\t\tvar k=3;\r\n");
      out.write("\t\t\tfor( var i=0 ;i<n;i++)\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tif(objs[i].value!='')\r\n");
      out.write("\t\t\t\t{\r\n");
      out.write("\t\t\t\t\tp[k ]= objs[i].value;\r\n");
      out.write("\t\t\t\t\tk++;\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\tfor( i=k;i<43;i++)\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tp[i]='';\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\t \t\r\n");
      out.write("\t\t   \r\n");
      out.write("\t\t   jsrsExecute(\"servlet/wiseoa.flow.jsprpc.FlowManage\", callback_self , \r\n");
      out.write("\t\t   \"setWhere\",  \tp,false);\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("\t\t}\r\n");
      out.write("\t    \r\n");
      out.write("  \t    function callback_self(msg)\r\n");
      out.write("  \t    {\r\n");
      out.write("  \t  \t     document.location.href= \"../workbook_db_table.jsp?\"+\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t  \t  \t     \"ttype=");
      if (_jspx_meth_c_005fout_005f5(_jspx_page_context))
        return;
      out.write("\"+\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t  \t  \t     \"&type=");
      if (_jspx_meth_c_005fout_005f6(_jspx_page_context))
        return;
      out.write("\"+\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t  \t  \t     \"&id=");
      if (_jspx_meth_c_005fout_005f7(_jspx_page_context))
        return;
      out.write("\"+\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t  \t  \t     \"&dsn=");
      if (_jspx_meth_c_005fout_005f8(_jspx_page_context))
        return;
      out.write("\"+\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t  \t  \t     \"&tab=tab7\";\r\n");
      out.write("  \t    }\r\n");
      out.write("\t\t \r\n");
      out.write(" \t   </script>   \r\n");
      out.write("\t   \r\n");
      out.write("   </p>\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write(" </div>\r\n");
      out.write(" \r\n");
      out.write(" <div id=tab3>\r\n");
      out.write(" \r\n");
      out.write(" <p></p> <br>\r\n");
      out.write(" <table width=\"500\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"2\">\r\n");
      out.write("\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td width=\"9%\" nowrap>字段含义：</td>\r\n");
      out.write("     <td><input name=\"text2\" type=\"text\" class='textbox'  id=\"analyse_caption\"></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td>字段名称(英文名)：</td>\r\n");
      out.write("     <td><input name=\"text22\" type=\"text\" class='textbox'  id=\"analyse_col\"></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td>字段类型：</td>\r\n");
      out.write("     <td><select name=\"analyse_type\" id=\"analyse_type\"  onChange=\"colTypeChange()\">\r\n");
      out.write("         <option value=\"int\">整数</option>\r\n");
      out.write("         <option value=\"decimal\">小数</option>\r\n");
      out.write("         <option value=\"datetime\">日期</option>\r\n");
      out.write("         <option value=\"varchar\" >字符串</option>\r\n");
      out.write("         <option value=\"text\" title=\"对于较多的文字、需要格式化编辑的内容、图片等大数据需要存放在大文本字段里\">大文本</option>\r\n");
      out.write("     </select></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr id= size_container>\r\n");
      out.write("     <td>字段精度：</td>\r\n");
      out.write("     <td><input name=\"text2\" type=\"text\" class='flatbox' id=\"analyse_size\" onkeydown='KeyDownFilterLong();' size=7>\r\n");
      out.write("         <span id=decimalcontainer>小数位数：\r\n");
      out.write("           <input name=\"text2\" type=\"text\" class='flatbox' id=\"analyse_decimalcount\" onkeydown='KeyDownFilterLong();' size=7>\r\n");
      out.write("         </span></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td>&nbsp;</td>\r\n");
      out.write("     <td>&nbsp;</td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td>&nbsp;</td>\r\n");
      out.write("     <td align=\"right\"><script>\r\n");
      out.write("\t   \r\n");
      out.write("\t   \t\t$('analyse_type').value='';\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t   \t\tfunction colTypeChange()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tvar colType=$('analyse_type').value;\r\n");
      out.write("\t\t\t\t \r\n");
      out.write("\t\t\t\tif ( colType=='int'||colType=='datetime' ||colType=='text')\r\n");
      out.write("\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t$('size_container').style.display =\"none\";\r\n");
      out.write("\t\t\t\t \r\n");
      out.write("\t\t\t\t}else\r\n");
      out.write("\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t$('size_container').style.display=\"\";\r\n");
      out.write("\t\t\t\t\t$('decimalcontainer').style.display=\"none\";\r\n");
      out.write("\t\t\t\t\tif (colType=='decimal')  $('decimalcontainer').style.display=\"\";\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t        //提交新字段\r\n");
      out.write("\t   \t\tfunction cb_analyse_onclick()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t    if( !confirm('提交操作将按上述配置创建新字段，确信吗?')) return;  \r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t\tvar table=$('tablename').value;\r\n");
      out.write("\t\t\t\tvar col=$('analyse_col').value;\r\n");
      out.write("\t\t\t\tvar caption=$('analyse_caption').value;\r\n");
      out.write("\t\t\t\tvar colType=$('analyse_type').value;\r\n");
      out.write("\t\t\t\tvar size=$('analyse_size').value;\r\n");
      out.write("\t\t\t\tvar decimalCount=$('analyse_decimalcount').value;\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t    \r\n");
      out.write("\t\tjsrsExecute(\"servlet/wiseoa.flow.jsprpc.FlowManage\", callback , \"newColumn\", \r\n");
      out.write("\t[ \"");
      if (_jspx_meth_c_005fout_005f9(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f10(_jspx_page_context))
        return;
      out.write("\"  , table,col,caption,colType ,size,decimalCount],false);\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t       var cb =new zbutton('cb_analyse','增加字段','image/morepage.gif');\r\n");
      out.write("\t   </script></td>\r\n");
      out.write("    </tr>\r\n");
      out.write(" </table>\r\n");
      out.write("\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write(" </div>\r\n");
      out.write(" \r\n");
      out.write("<div id=tab4>\r\n");
      out.write(" \r\n");
      out.write(" <p></p>\r\n");
      out.write(" <p><br>\r\n");
      out.write("  &nbsp;&nbsp;&nbsp;&nbsp;\t计算列是由字段名称，运算符，函数组成的表达式。 </p>\r\n");
      out.write(" <table width=\"500\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"2\">\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td width=\"9%\" nowrap>计算列含义：</td>\r\n");
      out.write("     <td><input   type=\"text\" class='textbox'  id=\"computerlabel\"></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td>计算列名称<br>\r\n");
      out.write("      (英文名)：</td>\r\n");
      out.write("     <td><input   type=\"text\" class='textbox'  id=\"computername\"></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td nowrap>定义表达式：<br><font color=red>(最前面不需要加=)</font></td>\r\n");
      out.write("     <td><input  type=\"text\" class='textbox'  id=\"computerdefine\"></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr　>\r\n");
      out.write("     <td>结果回填：</td>\r\n");
      out.write("     <td><input  type=\"text\" class='textbox'  id=\"computerfillback\"></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td>&nbsp;</td>\r\n");
      out.write("     <td>&nbsp;</td>\r\n");
      out.write("   </tr>\r\n");
      out.write("   <tr>\r\n");
      out.write("     <td>&nbsp;</td>\r\n");
      out.write("     <td align=\"right\"><script>\r\n");
      out.write("\t   \r\n");
      out.write("\t   \t \t\r\n");
      out.write("\t        //提交新计算列\r\n");
      out.write("\t   \t\tfunction cb_newcomputer_onclick()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t    if( !confirm('提交操作将按上述配置创建新计算列，确信吗?')) return;  \r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t\tvar table=$('tablename').value;\r\n");
      out.write("\t\t\t\tvar col=$('computername').value;\r\n");
      out.write("\t\t\t\tvar caption=$('computerlabel').value;\r\n");
      out.write("\t\t\t\tvar define=$('computerdefine').value;\r\n");
      out.write("\t\t\t\tvar fillback=$('computerfillback').value;\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t \r\n");
      out.write("\t    \r\n");
      out.write("\t\tjsrsExecute(\"servlet/wiseoa.flow.jsprpc.FlowManage\", callback , \"newComputer\", \r\n");
      out.write(" \t[ \"");
      if (_jspx_meth_c_005fout_005f11(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f12(_jspx_page_context))
        return;
      out.write("\"  , table,col,caption,define ,fillback],false);\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t       var cb =new zbutton('cb_newcomputer','增加计算列','image/sum.gif');\r\n");
      out.write("\t   </script>     </td>\r\n");
      out.write("   </tr>\r\n");
      out.write(" </table>\r\n");
      out.write(" <p>&nbsp;</p>\r\n");
      out.write("</div>\r\n");
      out.write(" \r\n");
      out.write(" <div id=tab5>\r\n");
      out.write(" <p>\r\n");
      out.write("   <br>\r\n");
      out.write("&nbsp;&nbsp; 在本模板的数据库配置中删除本数据源的配置，如果对应的数据库表中已经存在数据，那么表将不被删除，否则表将被删除。</p>\r\n");
      out.write("  　<p align=\"center\">\r\n");
      out.write("  \r\n");
      out.write("       <script>\r\n");
      out.write(" \t\t\tvar cb =new zbutton('cb_droptable','删除此数据源','image/erase.gif');\r\n");
      out.write(" \t   </script>   \r\n");
      out.write("\t   \r\n");
      out.write("      </p>\r\n");
      out.write("    \r\n");
      out.write(" </div>\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" <div id=tab6>\r\n");
      out.write(" <p>\r\n");
      out.write("   <br>当本模板用于单据、代码时，在查询列表里需要显示的字段，请在下面定义。\r\n");
      out.write("<ul><h3>注意：</h3><li>字段名之间用<font color=red>空格</font>分开。字段名相对写在前面的表示在查询列表相对显示在左边。</li>\r\n");
      out.write("<li>当字段的<font color=red>显示宽度设置成 0 </font>时，工作流列表中将不显示该字段</li>\r\n");
      out.write("</ul>\r\n");
      out.write("\r\n");
      out.write("</p>\r\n");
      out.write("  　\r\n");
      out.write("  <textarea rows=\"5\"   class='textbox' id=colshowlist>");
      out.print(wbt.listshow);
      out.write("</textarea>\r\n");
      out.write("     <p align=\"center\">\r\n");
      out.write("       <script>\r\n");
      out.write(" \t\t\tvar cb =new zbutton('cb_showlist','提交','image/ok.gif');\r\n");
      out.write(" \t   </script>   \r\n");
      out.write("\t   \r\n");
      out.write("      </p>\r\n");
      out.write("    \r\n");
      out.write(" </div>\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("<script>\r\n");
      out.write("   \r\n");
      out.write("   \t\r\n");
      out.write(" \r\n");
      out.write("function tableRowTypeChange()\r\n");
      out.write("{\r\n");
      out.write("\tvar colType=$('tablerowtype').value;\r\n");
      out.write("\tif ( colType=='single' )\r\n");
      out.write("\t{\r\n");
      out.write("\t\t$('multidefaultrowcount').style.display=\"none\";\r\n");
      out.write("\t\t$('parentcontainer').style.display=\"none\";\r\n");
      out.write("\t\t$('parentcontainer2').style.display=\"none\";\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t//\t$('multidefaultrowcount2').style.display=\"none\";\t\t\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t\t$('multidefaultrowcount').style.display=\"\";\r\n");
      out.write("\t\t$('multidefaultrowcount2').style.display=\"\";\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t$('parentcontainer').style.display=\"\";\r\n");
      out.write("\t\t$('parentcontainer2').style.display=\"\";\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t \r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("//  表\r\n");
      out.write("function cb_table_onclick()\r\n");
      out.write("{\r\n");
      out.write("\tif( !confirm('确信提交修改吗?')) return;  \r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\tvar tablename=$('tablename').value;\r\n");
      out.write("\tvar comment=$('tablecomment').value;;\r\n");
      out.write("\tvar dsn=$('tabledsn').value; \r\n");
      out.write("\tvar tabletype=$('tablerowtype').value;\r\n");
      out.write("\tvar parent=$('parent').value;\r\n");
      out.write("\t\r\n");
      out.write("\tvar defaultRowCount=$('tabledefaultrowcount').value;\r\n");
      out.write("\tvar exportrowcountonce=$('exportrowcountonce').value;\r\n");
      out.write("\t\r\n");
      out.write("\tvar orderby=$('orderby').value;\r\n");
      out.write("\tvar autoTrim= $('autotrim').checked?\"true\":\"false\";\r\n");
      out.write("\t\r\n");
      out.write("\tjsrsExecute(\"servlet/wiseoa.flow.jsprpc.FlowManage\", callback , \"editTable\", \r\n");
      out.write("\t[ \"");
      if (_jspx_meth_c_005fout_005f13(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f14(_jspx_page_context))
        return;
      out.write("\"  , tablename , parent,comment , dsn ,tabletype, defaultRowCount,exportrowcountonce,orderby,autoTrim],false);\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("function cb_showlist_onclick()\r\n");
      out.write("{\r\n");
      out.write("\tif( !confirm('确信提交修改吗?')) return;  \r\n");
      out.write("\t\r\n");
      out.write("\tvar tablename=$('tablename').value;\t\t\t\t\r\n");
      out.write("\tvar cols=$('colshowlist').value;\r\n");
      out.write("\t \r\n");
      out.write("\tjsrsExecute(\"servlet/wiseoa.flow.jsprpc.FlowManage\", callback , \"setTableShowList\", \r\n");
      out.write("\t[ \"");
      if (_jspx_meth_c_005fout_005f15(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f16(_jspx_page_context))
        return;
      out.write("\"  , tablename , cols ],false);\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function callback (msg)\r\n");
      out.write("{\r\n");
      out.write("\t if (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t{\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\tparent.history.go(0) ;\r\n");
      out.write("\t\t \r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t  alert ( extractValue(msg, \"error\"));\r\n");
      out.write("\t}\r\n");
      out.write("}\r\n");
      out.write("   \r\n");
      out.write("   \r\n");
      out.write("function cb_droptable_onclick ()\r\n");
      out.write("{\r\n");
      out.write("\r\n");
      out.write("\t");
      if (_jspx_meth_c_005fif_005f1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\r\n");
      out.write("\tvar tablename= $('tablename').value;\r\n");
      out.write("\t \r\n");
      out.write("\tif( !confirm('删除数据源'+tablename+'，确信吗?')) return;  \r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t  \r\n");
      out.write("\tjsrsExecute(\"servlet/wiseoa.flow.jsprpc.FlowManage\", \r\n");
      out.write("\t    callback , \"dropDataSource\", \r\n");
      out.write("\t    [ \"");
      if (_jspx_meth_c_005fout_005f17(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f18(_jspx_page_context))
        return;
      out.write("\"  , tablename ],false);\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("$('multidefaultrowcount').style.display=\"none\";\r\n");
      out.write("//$('multidefaultrowcount2').style.display=\"none\";\r\n");
      out.write("\r\n");
      out.write("$('tabledsn').className=\"textbox\";\r\n");
      out.write("$('tabledsn').value=\"");
      out.print(wbt.connection);
      out.write("\";\r\n");
      out.write("$('tablerowtype').value=\"");
      if (_jspx_meth_c_005fout_005f19(_jspx_page_context))
        return;
      out.write("\";\r\n");
      out.write("$('tabledefaultrowcount').value=\"");
      out.print(wbt.defaultrowcount);
      out.write("\";\r\n");
      out.write("$('autotrim').checked= ");
      out.print(wbt.autoTrim);
      out.write(";\r\n");
      out.write("$('exportrowcountonce').value=\"");
      out.print(wbt.exportrowcountonce);
      out.write("\";\r\n");
      out.write("\r\n");
      out.write("// 如果是主表，那么必须是单行的数据源\r\n");
      if (_jspx_meth_c_005fif_005f2(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\r\n");
      out.write("$('parent').value=\"");
      if (_jspx_meth_c_005fout_005f20(_jspx_page_context))
        return;
      out.write("\"; ; \r\n");
      out.write("\r\n");
      out.write("tableRowTypeChange();\r\n");
      out.write("\r\n");
      out.write("var tabName=\"");
      if (_jspx_meth_c_005fout_005f21(_jspx_page_context))
        return;
      out.write("\";\r\n");
      out.write("if ( tabName==\"\") tabName=\"tab1\";\r\n");
      out.write("\r\n");
      out.write("t.showTab( \"tab1\"); //必须显示一下，不然编辑框出不来\r\n");
      out.write("setTimeout( function(){\r\n");
      out.write("\tif( tabName!='tab1') \r\n");
      out.write("\t{\r\n");
      out.write("\t\talert ('提交成功');\r\n");
      out.write("\t\tt.showTab( tabName);\r\n");
      out.write("\t}} , 500);\r\n");
      out.write("\t\r\n");
      out.write(" \r\n");
      out.write("    </script>\r\n");
      out.write("    \r\n");
      out.write("    \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_005fif_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:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f0.setParent(null);
    // /workbook_db_table.jsp(81,52) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${isMaster}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
    if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("&nbsp;&nbsp;<font color=red>[主表]</font>");
        int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
    return false;
  }

  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);
    // /workbook_db_table.jsp(198,32) 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("${templatetype}", 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);
    // /workbook_db_table.jsp(198,67) 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("${templateid}", 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_005fforEach_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:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f0.setParent(null);
    // /workbook_db_table.jsp(218,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f0.setVar("where");
    // /workbook_db_table.jsp(218,0) name = items type = java.lang.Object reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${wheres}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int[] _jspx_push_body_count_c_005fforEach_005f0 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f0 = _jspx_th_c_005fforEach_005f0.doStartTag();
      if (_jspx_eval_c_005fforEach_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("<input type=\"text\" class=\"textbox\" name=\"where\"  style=\"color:blue\"  value=\"");
          if (_jspx_meth_c_005fout_005f2(_jspx_th_c_005fforEach_005f0, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f0))
            return true;
          out.write("\">\r\n");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f0[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f0.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f0.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f0);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f0)
          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((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f0);
    // /workbook_db_table.jsp(219,76) 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("${where}", 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;
  }

  private boolean _jspx_meth_c_005fout_005f3(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_005f3 = (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_005f3.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f3.setParent(null);
    // /workbook_db_table.jsp(234,10) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f3.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templatetype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f3 = _jspx_th_c_005fout_005f3.doStartTag();
    if (_jspx_th_c_005fout_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f3);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f3);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f4(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_005f4 = (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_005f4.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f4.setParent(null);
    // /workbook_db_table.jsp(235,11) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f4.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templateid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f4 = _jspx_th_c_005fout_005f4.doStartTag();
    if (_jspx_th_c_005fout_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f4);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f4);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f5(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_005f5 = (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_005f5.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f5.setParent(null);
    // /workbook_db_table.jsp(264,33) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f5.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.ttype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f5 = _jspx_th_c_005fout_005f5.doStartTag();
    if (_jspx_th_c_005fout_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f5);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f5);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f6(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_005f6 = (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_005f6.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f6.setParent(null);
    // /workbook_db_table.jsp(265,33) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f6.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f6 = _jspx_th_c_005fout_005f6.doStartTag();
    if (_jspx_th_c_005fout_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f6);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f6);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f7(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_005f7 = (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_005f7.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f7.setParent(null);
    // /workbook_db_table.jsp(266,31) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f7.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f7 = _jspx_th_c_005fout_005f7.doStartTag();
    if (_jspx_th_c_005fout_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f7);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f7);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f8(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_005f8 = (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_005f8.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f8.setParent(null);
    // /workbook_db_table.jsp(267,32) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f8.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.dsn}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f8 = _jspx_th_c_005fout_005f8.doStartTag();
    if (_jspx_th_c_005fout_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f8);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f8);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f9(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_005f9 = (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_005f9.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f9.setParent(null);
    // /workbook_db_table.jsp(352,4) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f9.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templatetype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f9 = _jspx_th_c_005fout_005f9.doStartTag();
    if (_jspx_th_c_005fout_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f9);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f9);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f10(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_005f10 = (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_005f10.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f10.setParent(null);
    // /workbook_db_table.jsp(352,39) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f10.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templateid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f10 = _jspx_th_c_005fout_005f10.doStartTag();
    if (_jspx_th_c_005fout_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f10);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f10);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f11(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_005f11 = (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_005f11.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f11.setParent(null);
    // /workbook_db_table.jsp(414,5) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f11.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templatetype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f11 = _jspx_th_c_005fout_005f11.doStartTag();
    if (_jspx_th_c_005fout_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f11);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f11);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f12(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_005f12 = (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_005f12.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f12.setParent(null);
    // /workbook_db_table.jsp(414,40) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f12.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templateid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f12 = _jspx_th_c_005fout_005f12.doStartTag();
    if (_jspx_th_c_005fout_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f12);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f12);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f13(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_005f13 = (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_005f13.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f13.setParent(null);
    // /workbook_db_table.jsp(516,4) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f13.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templatetype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f13 = _jspx_th_c_005fout_005f13.doStartTag();
    if (_jspx_th_c_005fout_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f13);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f13);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f14(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_005f14 = (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_005f14.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f14.setParent(null);
    // /workbook_db_table.jsp(516,39) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f14.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templateid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f14 = _jspx_th_c_005fout_005f14.doStartTag();
    if (_jspx_th_c_005fout_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f14);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f14);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f15(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_005f15 = (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_005f15.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f15.setParent(null);
    // /workbook_db_table.jsp(531,4) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f15.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templatetype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f15 = _jspx_th_c_005fout_005f15.doStartTag();
    if (_jspx_th_c_005fout_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f15);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f15);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f16(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_005f16 = (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_005f16.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f16.setParent(null);
    // /workbook_db_table.jsp(531,39) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f16.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templateid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f16 = _jspx_th_c_005fout_005f16.doStartTag();
    if (_jspx_th_c_005fout_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f16);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f16);
    return false;
  }

  private boolean _jspx_meth_c_005fif_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:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f1.setParent(null);
    // /workbook_db_table.jsp(553,1) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${isMaster}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
    if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\talert('主表不允许删除。');\r\n");
        out.write("\treturn;\r\n");
        out.write("\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f17(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_005f17 = (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_005f17.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f17.setParent(null);
    // /workbook_db_table.jsp(565,8) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f17.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templatetype}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f17 = _jspx_th_c_005fout_005f17.doStartTag();
    if (_jspx_th_c_005fout_005f17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f17);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f17);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f18(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_005f18 = (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_005f18.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f18.setParent(null);
    // /workbook_db_table.jsp(565,43) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f18.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templateid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f18 = _jspx_th_c_005fout_005f18.doStartTag();
    if (_jspx_th_c_005fout_005f18.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f18);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f18);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f19(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_005f19 = (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_005f19.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f19.setParent(null);
    // /workbook_db_table.jsp(579,25) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f19.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rowcount}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f19 = _jspx_th_c_005fout_005f19.doStartTag();
    if (_jspx_th_c_005fout_005f19.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f19);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f19);
    return false;
  }

  private boolean _jspx_meth_c_005fif_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:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f2.setParent(null);
    // /workbook_db_table.jsp(585,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${isMaster}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2.doStartTag();
    if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("$('tablerowtype').value=\"single\";\r\n");
        out.write("$('tablerowtype').disabled=true;\r\n");
        int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f20(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_005f20 = (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_005f20.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f20.setParent(null);
    // /workbook_db_table.jsp(590,19) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f20.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${parent}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f20 = _jspx_th_c_005fout_005f20.doStartTag();
    if (_jspx_th_c_005fout_005f20.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f20);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f20);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f21(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_005f21 = (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_005f21.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f21.setParent(null);
    // /workbook_db_table.jsp(594,13) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f21.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.tab}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f21 = _jspx_th_c_005fout_005f21.doStartTag();
    if (_jspx_th_c_005fout_005f21.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f21);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f21);
    return false;
  }
}
