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

📄 note_jsp.java

📁 一套JAVA开发的OA系统,包括工作流,车辆管理,人事管理等
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
          out.write("<table width=\"98%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("  <tr>\r\n");
          out.write("    <th width=\"24\" height=\"24\" class=\"navlist\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("images/");
          out.print(css_name);
          out.write("/navicon.gif\" width=\"24\" height=\"24\"></th>\r\n");
          out.write("    <th class=\"navlist\" scope=\"col\"><div align=\"left\"><a href=\"#\">公共信息</a>&gt;&gt;<a href=\"#\">便笺列表</a><a href=\"#\"></a></div></th>\r\n");
          out.write("  </tr>\r\n");
          out.write("  <tr>\r\n");
          out.write("    <th height=\"7\" colspan=\"2\" scope=\"row\" background=\"");
          out.print(Constant.ROOTPATH);
          out.write("images/");
          out.print(css_name);
          out.write("/navditu.gif\"></th>\r\n");
          out.write("  </tr>\r\n");
          out.write("  <tr>\r\n");
          out.write("    <th height=\"10\" colspan=\"2\" scope=\"row\"></th>\r\n");
          out.write("  </tr>\r\n");
          out.write("</table>\r\n");
          out.write("\r\n");
          out.write("<table width=\"98%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"lablemiddletable\">\r\n");
          out.write("  <tr>\r\n");
          out.write("    <th scope=\"col\">\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=\"../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=\"../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  height=\"13\" 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>\r\n");
          out.write("          <th width=\"28%\" class=\"mainlisttable\" scope=\"col\"><div align=\"right\">标题:</div></th>\r\n");
          out.write("          <th width=\"72%\" class=\"mainlisttable\" scope=\"col\"><div align=\"left\">\r\n");
          out.write("\t\t\t  ");
          if (_jspx_meth_html_text_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("            </div></th>\r\n");
          out.write("        </tr>\r\n");
          out.write("        <tr>\r\n");
          out.write("          <th class=\"mainlisttable\" scope=\"col\"><div align=\"right\">创建时间:</div></th>\r\n");
          out.write("          <th class=\"mainlisttable\" scope=\"col\"><div align=\"left\">\r\n");
          out.write("              <input name=\"q_str_begin_time\" size=\"20\" readonly=\"true\" class=\"input\"/>\r\n");
          out.write("\t\t\t  <img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("images/");
          out.print(css_name);
          out.write("/datetime.gif\" alt=\"弹出日历下拉菜单\" width=\"16\" height=\"16\"  align=\"absmiddle\" style=\"cursor:hand;\"\r\n");
          out.write("                onClick=\"fPopUpCalendarDlg(q_str_begin_time);return false\">\r\n");
          out.write("               至\r\n");
          out.write("              <input name=\"q_str_end_time\" size=\"20\" readonly=\"true\" class=\"input\"/>\r\n");
          out.write("               <img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("images/");
          out.print(css_name);
          out.write("/datetime.gif\" alt=\"弹出日历下拉菜单\" width=\"16\" height=\"16\"  align=\"absmiddle\" style=\"cursor:hand;\"\r\n");
          out.write("                onClick=\"fPopUpCalendarDlg(q_str_end_time);return false\"></div></th>\r\n");
          out.write("        </tr>\r\n");
          out.write("        <tr>\r\n");
          out.write("          <th class=\"mainlisttable\" scope=\"row\"><div align=\"right\">类型:</div></th>\r\n");
          out.write("          <td class=\"mainlisttable\"><div align=\"left\">\r\n");
          out.write("              ");
          if (_jspx_meth_html_select_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("            </div></td>\r\n");
          out.write("        </tr>\r\n");
          out.write("      </table></th>\r\n");
          out.write("    <th  class=\"maintableright\" scope=\"col\"></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("/maintablebottomhy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
          out.write("    <th valign=\"top\" class=\"maintablebottom\" scope=\"col\"><table width=\"100%\" height=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("        <tr>\r\n");
          out.write("          <th scope=\"col\"> <div align=\"center\">\r\n");
          out.write("              <input name=\"Submit4\" type=\"button\" class=\"button\" value=\"查  询\" onClick=\"javascript:submitForm('query','');\" >\r\n");
          out.write("            </div></th>\r\n");
          out.write("        </tr>\r\n");
          out.write("        <tr>\r\n");
          out.write("          <th height=\"7\" scope=\"row\"></th>\r\n");
          out.write("        </tr>\r\n");
          out.write("      </table></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("/maintablebottomhy2.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 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");
          //  logic:notPresent
          org.apache.struts.taglib.logic.NotPresentTag _jspx_th_logic_notPresent_0 = (org.apache.struts.taglib.logic.NotPresentTag) _jspx_tagPool_logic_notPresent_name.get(org.apache.struts.taglib.logic.NotPresentTag.class);
          _jspx_th_logic_notPresent_0.setPageContext(_jspx_page_context);
          _jspx_th_logic_notPresent_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_logic_notPresent_0.setName("RecordSet");
          int _jspx_eval_logic_notPresent_0 = _jspx_th_logic_notPresent_0.doStartTag();
          if (_jspx_eval_logic_notPresent_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write('\r');
              out.write('\n');
 Collection col = new ArrayList();
   pageContext.setAttribute("RecordSet",col);
              out.write('\r');
              out.write('\n');
              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");
          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%\"  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=\"18%\" class=\"mainlisttoptitle\">标题</td>\r\n");
          out.write("          <td width=\"12%\">类型</td>\r\n");
          out.write("          <td width=\"15%\">创建时间</td>\r\n");
          out.write("          <td width=\"15%\">来源</td>\r\n");
          out.write("          <td width=\"32%\">内容</td>\r\n");
          out.write("        </tr>\r\n");
          out.write("        ");
if(pagectl.flag){
          out.write("\r\n");
          out.write("        <tr align=\"center\">\r\n");
          out.write("          <td colspan=\"6\">您现在没有任何便笺!</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("NoteForm");
          _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=\"mainlisttabledark\">\r\n");
              out.write("          ");
} else {
              out.write("\r\n");
              out.write("        <tr>\r\n");
              out.write("          ");
}
              out.write("\r\n");
              out.write("          <td>");

                 HashMap map = (HashMap)ListShowBean;
                 String colid = (String)map.get("$note_pk");
              
              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(colid);
              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(" </td>\r\n");
              out.write("          <td>");
              if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))

⌨️ 快捷键说明

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