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

📄 workinstructionedit_jsp.java

📁 工厂版本管理系统,STRUTS2框架,用于管理商品的版本,便于有效的控制版本
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class WorkInstructionEdit_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_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_textfield_theme_name_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_hidden_name_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_textfield_theme_readonly_name_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_select_theme_size_listValue_listKey_list_id_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_iterator_value_id;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_property_value_nobody;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _jspx_tagPool_s_actionerror_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_s_textfield_theme_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_s_hidden_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_s_textfield_theme_readonly_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_s_select_theme_size_listValue_listKey_list_id_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_s_iterator_value_id = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_s_property_value_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_s_actionerror_nobody.release();
    _jspx_tagPool_s_textfield_theme_name_nobody.release();
    _jspx_tagPool_s_hidden_name_nobody.release();
    _jspx_tagPool_s_textfield_theme_readonly_name_nobody.release();
    _jspx_tagPool_s_select_theme_size_listValue_listKey_list_id_nobody.release();
    _jspx_tagPool_s_iterator_value_id.release();
    _jspx_tagPool_s_property_value_nobody.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=GBK");
      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("<head>\r\n");
      out.write("<meta content=\"text/html; charset=GBK\" http-equiv=\"content-type\" />\r\n");
      out.write("<title>WI-edit</title>\r\n");
      out.write("<script language=\"javascript1.2\" src=\"../js/jquery.js\" type=\"text/javascript\"></script>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("<h1 style=\"text-align: left;\">WI Edit</h1>\r\n");
      if (_jspx_meth_s_actionerror_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("<form action=\"work-instruction.edit.action\">\r\n");
      out.write("P/N: \r\n");
      out.write("\t");
      if (_jspx_meth_s_textfield_0(_jspx_page_context))
        return;
      out.write(" \r\n");
      out.write("\t<input value=\"edit\" type=\"submit\" />\r\n");
      out.write("\t<input value=\"new\" type=\"button\" onclick=\"form.action='work-instruction.createNew.action';form.submit();\" />\r\n");
      out.write("</form>\r\n");
      out.write("<form action=\"work-instruction.save.action\" name=\"WI\">\r\n");
      if (_jspx_meth_s_hidden_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("<table style=\"width: 724px; height: 105px;\" border=\"1\" cellpadding=\"2\"\r\n");
      out.write("\tcellspacing=\"2\">\r\n");
      out.write("\t<tbody>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td style=\"width: 221px;\">part number</td>\r\n");
      out.write("\t\t\t<td style=\"width: 483px;\">");
      if (_jspx_meth_s_textfield_1(_jspx_page_context))
        return;
      out.write("</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td style=\"width: 221px;\">product name</td>\r\n");
      out.write("\t\t\t<td style=\"width: 483px;\">");
      if (_jspx_meth_s_textfield_2(_jspx_page_context))
        return;
      out.write("</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td style=\"width: 221px;\">product line</td>\r\n");
      out.write("\t\t\t<td style=\"width: 483px;\">");
      if (_jspx_meth_s_textfield_3(_jspx_page_context))
        return;
      out.write("</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td style=\"width: 221px;\">suitable department</td>\r\n");
      out.write("\t\t\t<td style=\"width: 483px;\">");
      if (_jspx_meth_s_textfield_4(_jspx_page_context))
        return;
      out.write("</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td style=\"width: 221px;\">station list</td>\r\n");
      out.write("\t\t\t<td style=\"width: 483px;\">");
      if (_jspx_meth_s_select_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t\t\t\t<br/>\r\n");
      out.write("\t\t\t\t<input name=\"add\" value=\"add\" type=\"button\" onclick=\"addStation();\"/>\r\n");
      out.write("\t\t\t\t<input name=\"remove\" value=\"remove\" type=\"button\" disabled=\"disabled\" /> <input name=\"edit\" value=\"edit\"\r\n");
      out.write("\t\t\t\ttype=\"button\" onclick=\"editStation();\" />\r\n");
      out.write("\t\t\t\t<input name=\"up\" value=\"up\" type=\"button\" disabled=\"disabled\" />\r\n");
      out.write("\t\t\t\t<input name=\"down\" value=\"down\" type=\"button\" disabled=\"disabled\"  />\r\n");
      out.write("\t\t\t</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td style=\"width: 221px;\"></td>\r\n");
      out.write("\t\t\t<td style=\"width: 483px;\"><input name=\"save\" value=\"save\"\r\n");
      out.write("\t\t\t\ttype=\"submit\"><input name=\"delete\" value=\"delete\" disabled=\"disabled\"\r\n");
      out.write("\t\t\t\ttype=\"button\">\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td>WI versions:</td>\r\n");
      out.write("\t\t\t<td>\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\t<a href=\"work-instruction-version.input.action?workInstructionId=");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${workInstruction.id }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" target=\"_blank\">Release A New Version</a>\r\n");
      out.write("\t\t\t\t<ul>\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\t");
      if (_jspx_meth_s_iterator_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\t</ul>\r\n");
      out.write("\t\t\t</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t</tbody>\r\n");
      out.write("</table>\r\n");
      out.write("</form>\r\n");
      out.write("<br>\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\tfunction editStation(){\r\n");
      out.write("\t\r\n");
      out.write("\t\tvar id = $(\"#stationList\").val();\r\n");
      out.write("\t\twindow.open('station.edit.action?workInstructionId='+");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${workInstruction.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("+'&id='+id,'_blank');\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("\tfunction addStation(){\r\n");
      out.write("\t\twindow.open('station.input.action?workInstructionId='+");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${workInstruction.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write(",'_blank');\r\n");
      out.write("\t}\r\n");
      out.write("</script>\r\n");
      out.write("</body>\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);
    }
  }

  private boolean _jspx_meth_s_actionerror_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  s:actionerror
    org.apache.struts2.views.jsp.ui.ActionErrorTag _jspx_th_s_actionerror_0 = (org.apache.struts2.views.jsp.ui.ActionErrorTag) _jspx_tagPool_s_actionerror_nobody.get(org.apache.struts2.views.jsp.ui.ActionErrorTag.class);
    _jspx_th_s_actionerror_0.setPageContext(_jspx_page_context);
    _jspx_th_s_actionerror_0.setParent(null);
    int _jspx_eval_s_actionerror_0 = _jspx_th_s_actionerror_0.doStartTag();
    if (_jspx_th_s_actionerror_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_s_actionerror_nobody.reuse(_jspx_th_s_actionerror_0);
      return true;
    }
    _jspx_tagPool_s_actionerror_nobody.reuse(_jspx_th_s_actionerror_0);
    return false;
  }

⌨️ 快捷键说明

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