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

📄 inform_005fedit_jsp.java

📁 一套JAVA开发的OA系统,包括工作流,客户管理、个人管理、车辆管理,人事管理等。
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
 try
			{
			 if(bmap.get("/oa/oaweb/inform/GgBulletinAction.do?actionType=query")!=null){
        	if(label.equals("bulletin")){
        	
          out.write("\r\n");
          out.write("              <th scope=\"col\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("                  <tr>\r\n");
          out.write("                    <th  class=\"activelable_left\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                    <th  align=\"center\" class=\"activelable_middle\" scope=\"col\"><a href=\"/oa/oaweb/inform/GgBulletinAction.do?actionType=query&label=bulletin\">公告通知</a></th>\r\n");
          out.write("                    <th  class=\"activelable_right\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                </table></th>\r\n");
          out.write("                 ");

        	}else{
        		
          out.write(" \r\n");
          out.write("                \r\n");
          out.write("                <th scope=\"col\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("                  <tr>\r\n");
          out.write("                    <th  class=\"lable_left\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                    <th  align=\"center\" class=\"lable_middle\" scope=\"col\"><a href=\"/oa/oaweb/inform/GgBulletinAction.do?actionType=query&label=bulletin\">公告通知</a></th>\r\n");
          out.write("                    <th  class=\"lable_right\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                </table></th>\r\n");
          out.write("                 ");
}
}
          out.write("\r\n");
          out.write("                 \r\n");
          out.write("                  ");
if(bmap.get("/oa/oaweb/inform/GgBullAdminAction.do?actionType=query")!=null){
          out.write("              \r\n");
          out.write("\t\t ");
if(label.equals("bulletinAdmin")){
		 
          out.write("\r\n");
          out.write("                \r\n");
          out.write("              <th scope=\"col\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("                  <tr>\r\n");
          out.write("                    <th class=\"activelable_left\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                    <th align=\"center\" class=\"activelable_middle\" scope=\"col\"><a href=\"/oa/oaweb/inform/GgBullAdminAction.do?actionType=query&label=bulletinAdmin\">公告通知发布</a></th>\r\n");
          out.write("                    <th class=\"activelable_right\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                </table></th>\r\n");
          out.write("                            ");

        	}else{
        		
          out.write(" \r\n");
          out.write("                <th scope=\"col\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("                  <tr>\r\n");
          out.write("                    <th class=\"lable_left\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                    <th align=\"center\" class=\"lable_middle\" scope=\"col\"><a href=\"/oa/oaweb/inform/GgBullAdminAction.do?actionType=query&label=bulletinAdmin\">公告通知发布</a></th>\r\n");
          out.write("                    <th class=\"lable_right\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                </table></th>\r\n");
          out.write(" \t\t\t");
} }
         }
          catch(Exception ex)
		{
			System.out.println("error: " + ex.getMessage());
		}
         
          out.write("\r\n");
          out.write("            </tr>\r\n");
          out.write("          </table>\r\n");
          out.write("        </div></th>\r\n");
          out.write("      <th width=\"9\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH );
          out.write("images/");
          out.print(css_name);
          out.write("/lableimages/toptable_right.gif\" width=\"9\" height=\"29\"></th>\r\n");
          out.write("    </tr>\r\n");
          out.write("  </table>\r\n");
          out.write("  </body>\r\n");
          out.write("  </html>");
          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 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 height=\"68\" 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=\"9%\" class=\"mainlisttabledark\" scope=\"col\"><div align=\"right\">标题:</div></th>\r\n");
          out.write("          <th width=\"91%\" class=\"mainlisttable\" scope=\"col\"><div align=\"left\">\r\n");
          out.write("            ");
          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=\"mainlisttabledark\" scope=\"col\"><div align=\"right\">发布部门:</div></th>\r\n");
          out.write("            <td>");
          if (_jspx_meth_html_text_1(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("              ");
          if (_jspx_meth_html_hidden_6(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("              <a href=\"#\" onClick=\"window.open ('/oa/oaweb/catalog/PubOrgTreeAction.do?actionType=query&fieldname=dept_name&fieldid=$dept_pk', 'viewwindows', 'height=300, width=200, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')\">选择</a></td>\r\n");
          out.write("        </tr>\r\n");
          int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_html_form_method_enctype_action.reuse(_jspx_th_html_form_0);
      out.write('\r');
      out.write('\n');
      out.write('	');

           HashMap map = (HashMap)request.getAttribute("objForm");
           String content = (String)map.get("$content");
         
      out.write("\r\n");
      out.write("        <tr>\r\n");
      out.write("          <th class=\"mainlisttabledark\" scope=\"row\"><div align=\"right\"></div>\r\n");
      out.write("            <div align=\"right\">内容: </div></th>\r\n");
      out.write("          <th class=\"mainlisttabledark\" scope=\"row\" width=\"680\" height=\"500\">\r\n");
      out.write("            ");
      out.write("\t\t<link href=\"../editor/css/fck_editor.css\" type=\"text/css\" rel=\"stylesheet\">\r\n");
      out.write("\t\t\t<!-- Constants -->\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/dhtmled.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fckeditor.dhtmled.js\"></script>\r\n");
      out.write("\t\t<!-- Includes -->\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_config.js\"></script>\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t<script Language=\"JavaScript\">\r\n");
      out.write("            <!--\r\n");
      out.write("\t\t\tconfig.BasePath = \"/oa/oaweb/editor/\"\r\n");
      out.write("\t\t\t//alert(\"Ò³Ãæ\"+config.BasePath)\r\n");
      out.write("            // -->\r\n");
      out.write("            </script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/fckeditor.config.js\"></script>\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_init.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_lang.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_events.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_toolbar.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_toolbaritems.js\"></script>\r\n");
      out.write("\r\n");
      out.write("\t\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_xhtml.js\"></script>\r\n");
      out.write("\t\t\t\t<script language=\"javascript\" src=\"../editor/js/fck_actions.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/fckeditor.actions.js\"></script>\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_displaychange.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_contextmenu.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/fckeditor.custom.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\" src=\"../editor/js/fck_editor.js\"></script>\r\n");
      out.write("\t\t<!-- DEC Events -->\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t<script language=\"javascript\" event=\"DocumentComplete\" for=\"objContent\">\r\n");
      out.write("<!--\r\n");
      out.write("//initEditor() ;\r\n");
      out.write("//alert(\"initEditor\");\r\n");
      out.write("//-->\r\n");
      out.write("\t\t</script>\r\n");
      out.write("\t\t<script language=\"javascript\" event=\"DisplayChanged\" for=\"objContent\">\r\n");
      out.write("<!--\r\n");
      out.write("events.fireEvent('onEditing') ;\r\n");
      out.write("//-->\r\n");
      out.write("\t\t</script>\r\n");
      out.write("\t\t<script language=\"javascript\" event=\"ShowContextMenu\" for=\"objContent\">\r\n");
      out.write("<!--\r\n");
      out.write("//alert(\"ShowContextMenu\");\r\n");
      out.write("showContextMenu() ;\r\n");
      out.write("//-->\r\n");
      out.write("\t\t</script>\r\n");
      out.write("\t\t<script language=\"javascript\" event=\"ContextMenuAction(itemIndex)\" for=\"objContent\">\r\n");
      out.write("<!--\r\n");
      out.write("//alert(\"ContextMenuAction\");\r\n");
      out.write("contextMenuAction(itemIndex) ;\r\n");
      out.write("//-->\r\n");
      out.write("\t\t</script>\r\n");
      out.write("\t\t<script language=\"javascript\" event=\"onerror(msg, url, line)\" for=\"window\">\r\n");
      out.write("<!--\r\n");
      out.write("return true ;\t\t\t// To hide errors\r\n");
      out.write("//return false ;\t\t// To show errors\r\n");
      out.write("//-->\r\n");
      out.write("\t\t</script>\r\n");
      out.write("\t\t<script language=\"javascript\" event=\"onload\" for=\"window\">\r\n");
      out.write("<!--\r\n");
      out.write("//alert(\"onload\");\r\n");
      out.write("\r\n");
      out.write("if (window == window.top)\r\n");
      out.write("\talert('You should not call \"fckeditor.html\" directly. Please see the \"_test\" directory for samples on how to use the editor.' ) ;\r\n");
      out.write("//-->\r\n");
      out.write("\t\t</script>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t\t<table height=\"100%\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" align=\"center\">\r\n");
      out.write("\t\t\t<tr id=\"trEditor\">\r\n");
      out.write("\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\">\r\n");
      out.write("\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<div id=\"divToolbar\"></div>\r\n");
      out.write("\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t\t<tr height=\"100%\">\r\n");
      out.write("\t\t\t\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t\t\t\t<object class=\"EditorArea\" id=\"objContent\" classid=\"clsid:2D360201-FFF5-11D1-8D03-00A0C959BC0A\"\r\n");
      out.write("\t\t\t\t\t\t\t\t\tcodebase=\"dhtmled.cab\" viewastext>\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<param name=\"ActivateApplets\" value=\"0\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<param name=\"ActivateActiveXControls\" value=\"0\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<param name=\"ActivateDTCs\" value=\"1\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<param name=\"ShowDetails\" value=\"0\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<param name=\"ShowBorders\" value=\"0\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<param name=\"Appearance\" value=\"1\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<param name=\"Scrollbars\" value=\"1\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<param name=\"ScrollbarAppearance\" value=\"1\">\r\n");
      out.write("\t\t\t\t\t\t\t\t\t<param name=\"SourceCodePreservation\" value=\"1\">\r\n");

⌨️ 快捷键说明

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