⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moban_jsp.java

📁 一套JAVA开发的OA系统,包括工作流,车辆管理,人事管理等
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
				pageContext.setAttribute("RecordSet", col);
			
          out.write('\r');
          out.write('\n');
          out.write('	');
          int evalDoAfterBody = _jspx_th_logic_notPresent_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_logic_notPresent_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_logic_notPresent_name.reuse(_jspx_th_logic_notPresent_0);
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t");
      //  html:form
      org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_method_action.get(org.apache.struts.taglib.html.FormTag.class);
      _jspx_th_html_form_0.setPageContext(_jspx_page_context);
      _jspx_th_html_form_0.setParent(null);
      _jspx_th_html_form_0.setAction("/oaweb/canshusheding/moban/GwFileModelAction.do");
      _jspx_th_html_form_0.setMethod("post");
      int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
      if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_1(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_2(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_3(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_4(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          cn.com.chx.util.PageControl pagectl = null;
          synchronized (request) {
            pagectl = (cn.com.chx.util.PageControl) _jspx_page_context.getAttribute("pagectl", PageContext.REQUEST_SCOPE);
            if (pagectl == null){
              pagectl = new cn.com.chx.util.PageControl();
              _jspx_page_context.setAttribute("pagectl", pagectl, PageContext.REQUEST_SCOPE);
            }
          }
          out.write("\r\n");
          out.write("<table width=\"98%\" height=\"20\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("        <tr>\r\n");
          out.write("          <th height=\"30\" scope=\"col\"><div align=\"left\" class=\"navlist\"> <a href=\"#\">系统管理\r\n");
          out.write("        &gt;&gt; 公文模板</a></div></th>\r\n");
          out.write("        </tr>\r\n");
          out.write("</table>\r\n");
          out.write("<table width=\"98%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("  <tr>\r\n");
          out.write("    <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH );
          out.write("images/");
          out.print(css_name);
          out.write("/maintabletophy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
          out.write("    <th class=\"mainnoteword\" scope=\"col\"><div align=\"center\">\r\n");
          out.write("        <table width=\"100%\" height=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("          <tr>\r\n");
          out.write("            <th width=\"40%\" height=\"7\" scope=\"col\"></th>\r\n");
          out.write("            <th width=\"60%\" height=\"7\" scope=\"col\"></th>\r\n");
          out.write("          </tr>\r\n");
          out.write("          <tr>\r\n");
          out.write("            <th class=\"mainnotefont\" scope=\"row\"><div align=\"left\">以下是查询结果显示</div></th>\r\n");
          out.write("            <td><div align=\"right\"> </div></td>\r\n");
          out.write("          </tr>\r\n");
          out.write("        </table>\r\n");
          out.write("      </div></th>\r\n");
          out.write("    <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH );
          out.write("images/");
          out.print(css_name);
          out.write("/maintabletophy2.gif\" width=\"65\" height=\"41\"></th>\r\n");
          out.write("  </tr>\r\n");
          out.write("</table>\r\n");
          out.write("<table width=\"98%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("  <tr>\r\n");
          out.write("    <th rowspan=\"2\" class=\"maintableleft\" scope=\"col\"></th>\r\n");
          out.write("    <th scope=\"col\"><table width=\"100%\"  border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
          out.write("        <tr align=\"center\" class=\"mainlisttitle\">\r\n");
          out.write("          <td width=\"8%\" height=\"18\" class=\"mainlisttoptitle\">选择</td>\r\n");
          out.write("          <td width=\"20%\" class=\"mainlisttoptitle\">模板名称</td>\r\n");
          out.write("          <td width=\"15%\">模板类别</td>\r\n");
          out.write("          <td width=\"20%\">文件名</td>\r\n");
          out.write("          <td width=\"30%\">备注</td>\r\n");
          out.write("        </tr>\r\n");
          out.write("        ");
if(pagectl.flag){
              
          out.write("\r\n");
          out.write("\r\n");
          out.write("            <tr class=\"odd\">\r\n");
          out.write("              <td colspan=\"12\" align=center> <font color=\"#CC0000\">没有相关记录!&nbsp;</font>\r\n");
          out.write("              </td>\r\n");
          out.write("            </tr>\r\n");
          out.write("            ");
}
          out.write("\r\n");
          out.write("            ");

              boolean tr = true;
            
          out.write("\r\n");
          out.write("          ");
          //  logic:iterate
          org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_property_name_id.get(org.apache.struts.taglib.logic.IterateTag.class);
          _jspx_th_logic_iterate_0.setPageContext(_jspx_page_context);
          _jspx_th_logic_iterate_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_logic_iterate_0.setId("ListShowBean");
          _jspx_th_logic_iterate_0.setName("GwFileModelForm");
          _jspx_th_logic_iterate_0.setProperty("RecordSet");
          int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag();
          if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            java.lang.Object ListShowBean = null;
            if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_logic_iterate_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_logic_iterate_0.doInitBody();
            }
            ListShowBean = (java.lang.Object) _jspx_page_context.findAttribute("ListShowBean");
            do {
              out.write("\r\n");
              out.write("            ");
 if (tr) { 
              out.write("\r\n");
              out.write("            <tr class=\"odd\">\r\n");
              out.write("            ");
} else {
              out.write("\r\n");
              out.write("            <tr class=\"even\">\r\n");
              out.write("            ");
}
              out.write("\r\n");
              out.write("            <td nowrap> <p align=\"center\">\r\n");
              out.write("                ");

                HashMap map = (HashMap)ListShowBean;
                String model_pk = (String)map.get("$model_pk");
                String model_type = (String)map.get("$model_type");
                System.out.println("model_type: " + model_type);
                String str =" where class_code='archives' and code = '" + model_type.trim() + "'";
                System.out.println("str: " + str);
                
              out.write("\r\n");
              out.write("                  ");
              //  commontag:getcontentid
              cn.com.chx.oa.tag.GetContentIDTag _jspx_th_commontag_getcontentid_0 = (cn.com.chx.oa.tag.GetContentIDTag) _jspx_tagPool_commontag_getcontentid_sql_param_id_content_nobody.get(cn.com.chx.oa.tag.GetContentIDTag.class);
              _jspx_th_commontag_getcontentid_0.setPageContext(_jspx_page_context);
              _jspx_th_commontag_getcontentid_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_logic_iterate_0);
              _jspx_th_commontag_getcontentid_0.setSql("select code,field from ctlg_dictionary _param_");
              _jspx_th_commontag_getcontentid_0.setId("TypeID");
              _jspx_th_commontag_getcontentid_0.setParam(str);
              _jspx_th_commontag_getcontentid_0.setContent("TypeName");
              int _jspx_eval_commontag_getcontentid_0 = _jspx_th_commontag_getcontentid_0.doStartTag();
              if (_jspx_th_commontag_getcontentid_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_commontag_getcontentid_sql_param_id_content_nobody.reuse(_jspx_th_commontag_getcontentid_0);
              out.write("\r\n");
              out.write("                    ");

                       		ArrayList array = (ArrayList)pageContext.getAttribute("TypeName");
                    
              out.write("\r\n");
              out.write("               ");
              //  html:multibox
              org.apache.struts.taglib.html.MultiboxTag _jspx_th_html_multibox_0 = (org.apache.struts.taglib.html.MultiboxTag) _jspx_tagPool_html_multibox_value_property_nobody.get(org.apache.struts.taglib.html.MultiboxTag.class);
              _jspx_th_html_multibox_0.setPageContext(_jspx_page_context);
              _jspx_th_html_multibox_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_logic_iterate_0);
              _jspx_th_html_multibox_0.setProperty("selected");
              _jspx_th_html_multibox_0.setValue(model_pk);
              int _jspx_eval_html_multibox_0 = _jspx_th_html_multibox_0.doStartTag();
              if (_jspx_th_html_multibox_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_html_multibox_value_property_nobody.reuse(_jspx_th_html_multibox_0);
              out.write(" </p>\r\n");
              out.write("            </td>\r\n");
              out.write("\t\t\t\t<td align=\"center\">");
              if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("                                <td align=\"center\">");
              out.print(array.get(0));
              out.write("</td>\r\n");
              out.write("\t\t\t\t<td align=\"center\"><a href=\"GwFileModelAction.do?actionType=open&doKey='");
              out.print(model_pk);
              out.write('\'');
              out.write('"');
              out.write('>');
              if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</a></td>\r\n");
              out.write("\t\t\t\t<td align=\"center\">");
              if (_jspx_meth_bean_write_2(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("\t\t\t</tr>\r\n");
              out.write("\t\t\t");
 tr= !tr; 
              out.write("\r\n");
              out.write("                    </div></th>\r\n");
              out.write("\t");
              int evalDoAfterBody = _jspx_th_logic_iterate_0.doAfterBody();
              ListShowBean = (java.lang.Object) _jspx_page_context.findAttribute("ListShowBean");
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
              out = _jspx_page_context.popBody();
          }
          if (_jspx_th_logic_iterate_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_logic_iterate_property_name_id.reuse(_jspx_th_logic_iterate_0);
          out.write("\r\n");
          out.write("\t\t</table></th>\r\n");
          out.write("    <th rowspan=\"2\" class=\"maintableright\" scope=\"col\"></th>\r\n");
          out.write("          </tr>\r\n");
          out.write("          <tr>\r\n");
          out.write("            <td><table width=\"100%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("              <tr>\r\n");
          out.write("                <td width=\"36%\" align=\"left\"  class=\"mainlisttitle\"><div align=\"center\"><span class=\"wordhrm4\">当前/总数&nbsp;&nbsp;(");
          out.print(pagectl.fromRow);
          out.write('-');
          out.print(pagectl.toRow);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -