📄 dms_0002freport_0002farchivecategorylist_0002ejsp_jsp.java
字号:
out.print(status);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(119,46);to=(119,51)]
out.write("</td>");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(119,53);to=(119,54)]
}
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(119,56);to=(120,4)]
out.write("\r\n ");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(120,6);to=(120,32)]
if (!sign.equals("four")){
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(120,34);to=(121,85)]
out.write("\r\n <td width=\"25%\" align=\"center\"><a href=\"/WebAgenda/servlet/ArchiveCategoryServlet");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(121,88);to=(121,92)]
out.print(para);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(121,94);to=(122,3)]
out.write("\">Enter Next Level</a></td> \r\n ");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(122,5);to=(122,6)]
}
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(122,8);to=(123,52)]
out.write(" \r\n <input type=\"hidden\" name=\"DetailNO\" value=\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(123,55);to=(123,90)]
out.print(archiveCategoryDAO[i].getDetailNO());
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(123,92);to=(124,53)]
out.write("\">\r\n \t<input type=\"hidden\" name=\"ParentNO_One\" value=\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(124,56);to=(124,64)]
out.print(detailNO);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(124,66);to=(125,53)]
out.write("\">\t \r\n \t<input type=\"hidden\" name=\"ParentNO_Two\" value=\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(125,56);to=(125,68)]
out.print(parentNO_One);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(125,70);to=(126,52)]
out.write("\"> \r\n \t<input type=\"hidden\" name=\"ActivateTag\" value=\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(126,55);to=(126,59)]
out.print(flag);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(126,61);to=(127,49)]
out.write("\">\r\n \t<input type=\"hidden\" name=\"ParentNO\" value=\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(127,52);to=(127,87)]
out.print(archiveCategoryDAO[i].getParentNO());
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(127,89);to=(128,51)]
out.write("\">\r\n \t<input type=\"hidden\" name=\"CategoryNO\" value=\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(128,54);to=(128,126)]
out.print((parentNO_Two+parentNO_One+detailNO+archiveCategoryDAO[i].getDetailNO()));
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(128,128);to=(130,2)]
out.write("\">\t\r\n </tr>\r\n ");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(130,4);to=(134,2)]
//CategoryNO=parentNO_Two+parentNO_One+detailNO+archiveCategoryDAO[i].getDetailNO();
}
//if(CategoryNO.equals("")) CategoryNO="00";
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(134,4);to=(140,6)]
out.write(" \r\n <tr>\r\n <td width=\"657\" colspan=\"6\" align=\"center\">\r\n <input type=\"button\" value=\" Add \" name=\"B1\" onClick=\"underway('add')\">\r\n <input type=\"button\" value=\"Modify\" name=\"B2\" onClick=\"underway('modify')\">\r\n <input type=\"button\" value=\"Delete\" name=\"B3\" onClick=\"underway('delete')\">\r\n ");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(140,8);to=(140,32)]
if(sign.equals("one")) {
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(140,34);to=(143,5)]
out.write("\r\n <input type=\"button\" value=\"InActivate\" name=\"B4\" onClick=\"underway('inActivate')\">\r\n <input type=\"button\" value=\"Activate\" name=\"B5\" onClick=\"underway('activate')\">\r\n ");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(143,7);to=(143,8)]
}
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(143,10);to=(152,5)]
out.write("\t\r\n <input type=\"button\" value=\"Back\" name=\"B6\" onClick=\"upOnePage()\">\r\n </td>\r\n </tr>\r\n</table>\r\n</form>\r\n</body>\r\n<script> \r\nfunction upOnePage(){\r\n\tif(\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(152,8);to=(152,12)]
out.print(sign);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(152,14);to=(154,5)]
out.write("\"==\"one\")\r\n\t\tlocation.href=\"DocSystem.jsp\";\r\n\tif(\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(154,8);to=(154,12)]
out.print(sign);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(154,14);to=(156,5)]
out.write("\"==\"two\")\r\n\t\tlocation.href=\"/WebAgenda/servlet/ArchiveCategoryServlet\";\r\n\tif(\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(156,8);to=(156,12)]
out.print(sign);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(156,14);to=(156,27)]
out.write("\"==\"three\"&&\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(156,30);to=(156,35)]
out.print(para2);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(156,37);to=(157,58)]
out.write("\"!=\"\"){ \r\n\t\tlocation.href=\"/WebAgenda/servlet/ArchiveCategoryServlet");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(157,61);to=(157,66)]
out.print(para2);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(157,68);to=(159,5)]
out.write("\";\r\n\t}\r\n\tif(\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(159,8);to=(159,12)]
out.print(sign);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(159,14);to=(159,26)]
out.write("\"==\"four\"&&\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(159,29);to=(159,34)]
out.print(para2);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(159,36);to=(160,58)]
out.write("\"!=\"\"){ \r\n\t\tlocation.href=\"/WebAgenda/servlet/ArchiveCategoryServlet");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(160,61);to=(160,66)]
out.print(para2);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(160,68);to=(164,11)]
out.write("\";\r\n\t}\r\n}\r\nfunction underway(temp){ \r\n\tvar index=");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(164,14);to=(164,15)]
out.print(i);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(164,17);to=(177,9)]
out.write(";\r\n\tvar flag=false;\r\n\tvar categoryNO=\"\"; \r\n\tvar categoryName=\"\"; \r\n\tvar detailNO=\"\";\r\n\tvar activateTag=\"0\";\r\n\tvar parentNO=\"0\";\r\n\tif(temp!=\"add\"){ \r\n\t\tif(index==1){\r\n\t\t\tcategoryNO=form1.CategoryNO.value;\r\n\t\t\tcategoryName=form1.CategoryName.value; \r\n\t\t\tparentNO=form1.ParentNO.value;\r\n\t\t\tdetailNO=form1.NO.value;\r\n\t\t\t//if(\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(177,12);to=(177,16)]
out.print(sign);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(177,18);to=(190,11)]
out.write("\"==\"one\")\r\n\t\t\t\tactivateTag=form1.ActivateTag.value;\r\n\t\t\tif(form1.NO.checked){\r\n\t\t\t\tflag=true; \r\n\t\t\t}\t\r\n\t\t}\r\n\t\tif(index>1){\r\n\t\t\tfor(i=0;i<form1.NO.length;i++)\r\n\t\t\t\tif(form1.NO[i].checked==true){\r\n\t\t\t\t\tcategoryNO=form1.CategoryNO[i].value;\r\n\t\t\t\t\tcategoryName=form1.CategoryName[i].value;\r\n\t\t\t\t\tdetailNO=form1.NO[i].value;\r\n\t\t\t\t\tparentNO=form1.ParentNO[i].value;\r\n\t\t\t\t\t//if(\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(190,14);to=(190,18)]
out.print(sign);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(190,20);to=(202,14)]
out.write("\"==\"one\")\r\n\t\t\t\t\t\tactivateTag=form1.ActivateTag[i].value;\r\n\t\t\t\t\tflag=true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t} \r\n\t\t}\r\n\t}\r\n\tif(!flag&&temp!=\"add\"){\r\n\t\talert(\"請選擇.\");\r\n\t\treturn;\r\n\t}\r\n\tif(temp==\"add\"){\r\n\t\tcategoryNO=\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(202,17);to=(202,27)]
out.print(CategoryNO);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(202,29);to=(207,17)]
out.write("\";\r\n\t\tcategoryName=\"\";\r\n\t}\r\n\tvar para=\"?categoryNO=\"+categoryNO+\"&categoryName=\"+categoryName+\"&ActivateTag=\"+activateTag+\"&ParentNO=\"+parentNO;\r\n\taddr=\"CategoryInfo.jsp\";\r\n\taddr=addr+para+\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(207,20);to=(207,22)]
out.print(p3);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(207,24);to=(216,52)]
out.write("\"; \r\n\t//alert(temp);\r\n\tif(temp==\"add\"){ \r\n\t\ttempReturn=showModalDialog(addr+\"&act=add\",0,'dialogWidth=260px;dialogHeight=270px;center=yes;help=no;scroll=no;status=no'); \r\n\t}\r\n\tif(temp==\"modify\"){\r\n\t\ttempReturn=showModalDialog(addr+\"&act=modify\",0,'dialogWidth=260px;dialogHeight=270px;center=yes;help=no;scroll=no;status=no'); \r\n\t}\r\n\tif(temp==\"delete\"){\r\n\t\ttempPara=\"?act=delete&DetailNO_Access=\"+detailNO+\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(216,55);to=(216,57)]
out.print(p3);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(216,59);to=(216,70)]
out.write("&DetailTag=");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(216,73);to=(216,82)]
out.print(detailTag);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(216,84);to=(216,106)]
out.write("&ParentNO=\"+parentNO+\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(216,109);to=(216,118)]
out.print(deleteStr);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(216,120);to=(224,93)]
out.write("\";\r\n\t\t//alert(tempPara);\r\n\t\tform1.action=\"/WebAgenda/servlet/ArchiveCategoryServlet\"+tempPara;\r\n\t\tform1.target=\"basefrm\"; \r\n\t\tform1.method=\"post\";\r\n\t\tform1.submit();\r\n\t}\r\n\tif(temp==\"inActivate\"){\r\n\t\ttempPara=\"?act=inActivate&ActivateTag=0&DetailTag=1&ParentNO=0&DetailNO_Access=\"+detailNO+\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(224,96);to=(224,98)]
out.print(p3);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(224,100);to=(233,91)]
out.write("\";\r\n\t\ttempPara=\"/WebAgenda/servlet/ArchiveCategoryServlet\"+tempPara;\r\n\t\t//alert(tempPara);\r\n\t\tform1.action=tempPara;\r\n\t\tform1.target=\"basefrm\";\r\n\t\tform1.method=\"post\";\r\n\t\tform1.submit(); \r\n\t}\r\n\tif(temp==\"activate\"){\r\n\t\ttempPara=\"?act=activate&ActivateTag=1&DetailTag=1&ParentNO=0&DetailNO_Access=\"+detailNO+\"");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(233,94);to=(233,96)]
out.print(p3);
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(233,98);to=(242,0)]
out.write("\";\r\n\t\t//alert(tempPara);\r\n\t\tform1.action=\"/WebAgenda/servlet/ArchiveCategoryServlet\"+tempPara;\r\n\t\tform1.target=\"basefrm\"; \r\n\t\tform1.method=\"post\";\r\n\t\tform1.submit();\r\n\t} \r\n}\r\n</script>\r\n");
// end
// begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(242,2);to=(247,0)]
//session.removeAttribute("sign");
//session.removeAttribute("DetailNO");
//session.removeAttribute("ParentNO_One");
//session.removeAttribute("ParentNO_Two");
// end
// HTML // begin [file="/DMS/report/ArchiveCategoryList.jsp";from=(247,2);to=(247,4)]
out.write(" ");
// end
} catch (Throwable t) {
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -