📄 category_002dedit_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class category_002dedit_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_actionerror_title_labelposition_label_cssClass_nobody;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_hidden_name_nobody;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_select_theme_size_onchange_name_multiple_listValue_listKey_list_id_headerValue_headerKey_nobody;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_varStatus_var_items;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_s_actionerror_title_labelposition_label_cssClass_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_s_hidden_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_s_select_theme_size_onchange_name_multiple_listValue_listKey_list_id_headerValue_headerKey_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_forEach_varStatus_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_s_actionerror_title_labelposition_label_cssClass_nobody.release();
_jspx_tagPool_s_hidden_name_nobody.release();
_jspx_tagPool_s_select_theme_size_onchange_name_multiple_listValue_listKey_list_id_headerValue_headerKey_nobody.release();
_jspx_tagPool_c_forEach_varStatus_var_items.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("\r\n");
out.write("<head>\r\n");
out.write("\r\n");
out.write("<title>产品目录维护</title>\r\n");
out.write("\r\n");
out.write("<link rel=\"stylesheet\" href=\"../css/main.css\" type=\"text/css\">\r\n");
out.write("<link rel=\"stylesheet\" href=\"../css/cn.css\" type=\"text/css\">\r\n");
out.write("\r\n");
out.write("</head>\r\n");
out.write("<body>\r\n");
out.write("\r\n");
if (_jspx_meth_s_actionerror_0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write("<form id=\"form1\" method=\"post\" action=\"category-edit.selectChanged.action\" enctype =\"multipart/form-data\" >\r\n");
if (_jspx_meth_s_hidden_0(_jspx_page_context))
return;
out.write("\r\n");
out.write("<table border=\"1\">\r\n");
out.write("\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td width=\"150\">一级目录</td>\r\n");
out.write("\t\t<td width=\"700\">");
if (_jspx_meth_s_select_0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t</td>\r\n");
out.write("<td >\r\n");
out.write("\t\r\n");
out.write("<a href=\"category-item-edit.input.action?categoryItem.parent.id=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[0]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">新增</a>\r\n");
out.write("\t\t<a href=\"category-item-edit.input.action?categoryItemId=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[1]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">编辑</a>\r\n");
out.write("\t\t<input value=\"删除\" type=\"button\" onclick=\"deleteItem(form,1)\">\r\n");
out.write("</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td >二级目录</td>\r\n");
out.write("\t\t<td >");
if (_jspx_meth_s_select_1(_jspx_page_context))
return;
out.write("</td>\t\t\r\n");
out.write("<td >\r\n");
out.write("<a href=\"category-item-edit.input.action?categoryItem.parent.id=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[1]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">新增</a>\r\n");
out.write("\t\t<a href=\"category-item-edit.input.action?categoryItemId=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[2]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">编辑</a>\r\n");
out.write("\t\t<input value=\"删除\" type=\"button\" onclick=\"deleteItem(form,2)\">\r\n");
out.write("</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td >三级目录</td>\r\n");
out.write("\t\t<td >");
if (_jspx_meth_s_select_2(_jspx_page_context))
return;
out.write("</td>\r\n");
out.write("\r\n");
out.write("<td >\r\n");
out.write("<a href=\"category-item-edit.input.action?categoryItem.parent.id=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[2]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">新增</a>\r\n");
out.write("\t\t<a href=\"category-item-edit.input.action?categoryItemId=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[3]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">编辑</a>\r\n");
out.write("\t\t<input value=\"删除\" type=\"button\" onclick=\"deleteItem(form,3)\">\r\n");
out.write("</td>\t\t\r\n");
out.write("\t</tr>\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td >四级目录</td>\r\n");
out.write("\t\t<td >");
if (_jspx_meth_s_select_3(_jspx_page_context))
return;
out.write("</td>\r\n");
out.write("\t\t<td >\r\n");
out.write("\t\t<a href=\"category-item-edit.input.action?categoryItem.parent.id=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[3]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">新增</a>\r\n");
out.write("\t\t<a href=\"category-item-edit.input.action?categoryItemId=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[4]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">编辑</a>\r\n");
out.write("\t\t<input value=\"删除\" type=\"button\" onclick=\"deleteItem(form,4)\">\r\n");
out.write("</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td >产品系列</td>\r\n");
out.write("\t\t<td >");
if (_jspx_meth_s_select_4(_jspx_page_context))
return;
out.write("</td>\t\t\r\n");
out.write("<td >\r\n");
out.write("<a href=\"category-item-edit.input.action?categoryItem.parent.id=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[4]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">新增</a>\r\n");
out.write("\t\t<a href=\"category-item-edit.input.action?categoryItemId=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[5]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">编辑</a>\r\n");
out.write("\t\t<input value=\"删除\" type=\"button\" onclick=\"deleteItem(form,5)\">\r\n");
out.write("</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td>产品</td>\r\n");
out.write("\r\n");
out.write("\t\t<td width=\"400\">\r\n");
out.write("\t\t\t<table border=\"1\">\r\n");
out.write("\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t<td>操作</td>\r\n");
out.write("\t\t\t\t\t<td>库存号</td>\r\n");
out.write("\t\t\t\t\t<td>描述</td>\r\n");
out.write("\t\t\t\t\t<td>制造商</td>\t\r\n");
out.write("\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t\r\n");
out.write("\t\t\t\t");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\t\t\r\n");
out.write("\t\t\t</table>\r\n");
out.write("\r\n");
out.write("\t\t</td>\r\n");
out.write("\r\n");
out.write("\t\t<td>\t\t\r\n");
out.write("\t\t<a href=\"product-edit.input.action?product.categoryItem.id=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${selectedItemIds[4]}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">新增</a>\r\n");
out.write("\t\t</td>\r\n");
out.write("\r\n");
out.write("\t</tr>\r\n");
out.write("</table>\r\n");
out.write("</form>\r\n");
out.write("<script language=\"javascript\">\r\n");
out.write("\r\n");
out.write("\tfunction selectChanged(form, level) {\r\n");
out.write("\t\tform.action= 'category-edit.selectChanged.action'\r\n");
out.write("\t\tform.selectedLevel.value=level;\r\n");
out.write("\t\tform.submit();\r\n");
out.write("\t}\r\n");
out.write("\r\n");
out.write("\tfunction deleteItem(form, level) {\r\n");
out.write("\t\t\t\t\r\n");
out.write("\t\tform.action= 'category-edit.delete.action'\r\n");
out.write("\t\tform.selectedLevel.value=level;\r\n");
out.write("\t\tform.submit();\r\n");
out.write("\t}\r\n");
out.write("\r\n");
out.write("\t\r\n");
out.write("</script>\r\n");
out.write("\r\n");
out.write("</body>\r\n");
out.write("\r\n");
out.write("</html>");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -