📄 dms_0002farchive_0002fcategoryinfo_0002ejsp_jsp.java
字号:
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(149,97);to=(149,101)]
out.print(A[1]);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(149,103);to=(152,82)]
out.write("></td>\r\n </tr>\r\n <tr>\r\n <td width=\"78%\" align=\"center\">目<input type=\"text\" name=\"T3\" size=\"13\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(152,85);to=(152,90)]
out.print(temp3);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(152,92);to=(152,94)]
out.write("\" ");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(152,97);to=(152,101)]
out.print(A[2]);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(152,103);to=(155,82)]
out.write("></td>\r\n </tr>\r\n <tr>\r\n <td width=\"78%\" align=\"center\">節<input type=\"text\" name=\"T4\" size=\"13\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(155,85);to=(155,90)]
out.print(temp4);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(155,92);to=(155,94)]
out.write("\" ");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(155,97);to=(155,101)]
out.print(A[3]);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(155,103);to=(159,87)]
out.write("></td>\r\n </tr>\r\n <tr>\r\n <td width=\"22%\" align=\"center\">名稱</td>\r\n <td width=\"78%\" align=\"left\"><input type=\"text\" name=\"DetailName\" size=\"19\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(159,90);to=(159,102)]
out.print(categoryName);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(159,104);to=(161,2)]
out.write("\"></td>\r\n </tr>\r\n ");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(161,4);to=(161,27)]
if(sign.equals("one")){
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(161,29);to=(169,2)]
out.write("\r\n <tr>\r\n <td width=\"22%\" align=\"center\">ActivateTag</td>\r\n <td width=\"78%\" align=\"left\"><select size=\"1\" name=\"ActivateTag\">\r\n <option selected value=\"0\">InActivate</option>\r\n <option value=\"1\">Activate</option>\r\n </select></td>\r\n </tr>\r\n ");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(169,4);to=(169,5)]
}
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(169,7);to=(177,46)]
out.write("\r\n <tr>\r\n <td width=\"100%\" align=\"center\" colspan=\"2\">\r\n <input type=\"button\" value=\"確定\" name=\"B1\" onClick=\"temp()\">\r\n <input type=\"button\" value=\"取消\" name=\"B1\" onClick=\"javascript:window.close();\">\r\n </td>\r\n </tr>\r\n</table>\r\n<input type=\"hidden\" name=\"CategoryNO\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(177,49);to=(177,74)]
out.print((temp1+temp2+temp3+temp4));
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(177,76);to=(178,45)]
out.write("\">\r\n<input type=\"hidden\" name=\"DetailTag\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(178,48);to=(178,57)]
out.print(detailTag);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(178,59);to=(181,0)]
out.write("\">\r\n<input type=\"hidden\" name=\"DetailNO_Access\" >\r\n<input type=\"hidden\" name=\"ParentNO\" > \r\n");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(181,2);to=(181,26)]
if(sign.equals("two")) {
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(181,28);to=(182,44)]
out.write("\r\n<input type=\"hidden\" name=\"DetailNO\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(182,47);to=(182,52)]
out.print(temp1);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(182,54);to=(183,0)]
out.write("\"> \r\n");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(183,2);to=(183,3)]
}
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(183,5);to=(184,0)]
out.write(" \r\n");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(184,2);to=(184,28)]
if(sign.equals("three")) {
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(184,30);to=(185,44)]
out.write("\r\n<input type=\"hidden\" name=\"DetailNO\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(185,47);to=(185,52)]
out.print(temp2);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(185,54);to=(186,48)]
out.write("\">\r\n<input type=\"hidden\" name=\"ParentNO_One\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(186,51);to=(186,56)]
out.print(temp1);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(186,58);to=(187,0)]
out.write("\">\t \r\n");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(187,2);to=(187,3)]
}
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(187,5);to=(188,0)]
out.write(" \r\n");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(188,2);to=(188,27)]
if(sign.equals("four")) {
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(188,29);to=(189,44)]
out.write("\r\n<input type=\"hidden\" name=\"DetailNO\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(189,47);to=(189,52)]
out.print(temp3);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(189,54);to=(190,48)]
out.write("\">\r\n<input type=\"hidden\" name=\"ParentNO_One\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(190,51);to=(190,56)]
out.print(temp2);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(190,58);to=(191,48)]
out.write("\">\t \r\n<input type=\"hidden\" name=\"ParentNO_Two\" value=\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(191,51);to=(191,56)]
out.print(temp1);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(191,58);to=(192,0)]
out.write("\">\r\n");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(192,2);to=(192,3)]
}
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(192,5);to=(198,8)]
out.write(" \t\r\n</form>\r\n</body>\r\n<script>\r\n \r\nfunction on_load(){\r\n\tsignal=");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(198,11);to=(198,17)]
out.print(status);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(198,19);to=(199,5)]
out.write("; \r\n\tif(\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(199,8);to=(199,12)]
out.print(sign);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(199,14);to=(208,5)]
out.write("\"==\"one\"){\r\n\t\tif(signal==1)\r\n\t\t\tform1.ActivateTag.value=\"1\";\r\n\t\telse\r\n\t\t\tform1.ActivateTag.value=\"0\";\r\n\t}\r\n}\r\nfunction temp(){ \r\n\t//\r\n\tif(\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(208,8);to=(208,12)]
out.print(A[0]);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(208,14);to=(214,5)]
out.write("\"==\"\"){\r\n\t\tif(isNaN(form1.T1.value)||form1.T1.value.length!=2){\r\n\t\t\talert(\"類編號應為2位數字且不能重復.(如:01,11)\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t} \r\n\tif(\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(214,8);to=(214,12)]
out.print(A[1]);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(214,14);to=(220,5)]
out.write("\"==\"\"){\r\n\t\tif(isNaN(form1.T2.value)||form1.T2.value.length!=2){\r\n\t\t\talert(\"綱編號應為2位數字且不能重復.(如:01,11)\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t} \r\n\tif(\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(220,8);to=(220,12)]
out.print(A[2]);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(220,14);to=(226,5)]
out.write("\"==\"\"){\r\n\t\tif(isNaN(form1.T3.value)||form1.T3.value.length!=2){\r\n\t\t\talert(\"目編號應為2位數字且不能重復.(如:01,11)\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t} \r\n\tif(\"");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(226,8);to=(226,12)]
out.print(A[3]);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(226,14);to=(258,11)]
out.write("\"==\"\"){\r\n\t\tif(isNaN(form1.T4.value)||form1.T4.value.length!=2){\r\n\t\t\talert(\"節編號應為2位數字且不能重復.(如:01,11)\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t} \r\n\t//\r\n\tif(form1.DetailName.value==\"\"){\r\n\t\talert(\"Please fill the Name!\");\r\n\t\treturn;\r\n\t}\r\n\tT1=form1.T1.value;\r\n\tT2=form1.T2.value;\r\n\tT3=form1.T3.value;\r\n\tT4=form1.T4.value;\r\n\t\r\n\tif(T1!=\"\"&&T2!=\"\"&&T3!=\"\"&&T4!=\"\"){\r\n\t\tform1.DetailNO_Access.value=T4;\r\n\t\tform1.ParentNO.value=T3;\r\n\t}\r\n\telse if(T1!=\"\"&&T2!=\"\"&&T3!=\"\"&&T4==\"\"){\r\n\t\tform1.DetailNO_Access.value=T3;\r\n\t\tform1.ParentNO.value=T2;\r\n\t}\r\n\telse if(T1!=\"\"&&T2!=\"\"&&T3==\"\"&&T4==\"\"){ \r\n\t\tform1.DetailNO_Access.value=T2;\r\n\t\tform1.ParentNO.value=T1;\r\n\t}\r\n\telse{\r\n\t\tform1.DetailNO_Access.value=T1; \r\n\t\tform1.ParentNO.value=\"\" ;\r\n\t}\r\n\tact=\"?act=");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(258,14);to=(258,33)]
out.print((act+"&sign="+sign));
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(258,35);to=(258,51)]
out.write("\"+\"&OldDetailNO=");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(258,54);to=(258,65)]
out.print(oldDetailNO);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(258,67);to=(258,80)]
out.write("&ActivateTag=");
// end
// begin [file="/DMS/archive/CategoryInfo.jsp";from=(258,83);to=(258,89)]
out.print(status);
// end
// HTML // begin [file="/DMS/archive/CategoryInfo.jsp";from=(258,91);to=(266,0)]
out.write("\"; \r\n\t//alert(act);\r\n\tform1.action=\"/WebAgenda/servlet/ArchiveCategoryServlet\"+act;\r\n\tform1.submit();\r\n \twindow.close();\r\n}\r\n</script>\r\n</html>\r\n");
// 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 + -