/* Automatically generated.
 * Copyright (c) 2000-2006 by SAP AG, Walldorf.,
 * http://www.sap.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of SAP AG, Walldorf. You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms
 * of the license agreement you entered into with SAP.
 * Do not edit.
 */

import ro.emid.common.types.SetValue;
import java.util.Map;
import ro.emid.common.utils.StringUtils;
import ro.emid.common.constants.AppConstants;

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

public class JEE_jsp_WEB_2d_INF_pagelet_admin_setValue_editSetValue_1471592527389 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{

	public void _jspService(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
	{
		//isXml=false
		JspFactory  _jspFactory     = JspFactory.getDefaultFactory();
		PageContext pageContext = _jspFactory.getPageContext(this,request,response,null,true,32768,true);
		ServletConfig config = pageContext.getServletConfig();
		ServletContext application = pageContext.getServletContext();
		com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext = (com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl) pageContext;
		com.sap.engine.services.servlets_jsp.server.application.InjectionWrapper _jspx_resourceInjector = ((com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl)_jspx_pageContext.getServletContext()).getApplicationContext().getInjectionWrapper();
		HttpSession session = pageContext.getSession();
		if (!response.isCommitted()) {
		response.setContentType("text/html;charset=UTF-8");
		}
		JspWriter   out     = pageContext.getOut();
		java.lang.Object page = this;
		try {
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(1,50);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(2,34);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(3,53);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(4,58);to=(6,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(6,0);to=(10,2)]
			
    final SetValue item = (SetValue) request.getAttribute("item");

    final Map errors = (Map) request.getAttribute("errors");

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(10,2);to=(22,41)]
			out.print("\r\n\r\n<TABLE cellSpacing=1 cellPadding=5 width=\"100%\">\r\n    <TR>\r\n        <TD>\r\n            <TABLE class=gSAPTHEAD cellSpacing=1 cellPadding=2 width=\"100%\" border=0>\r\n                <tr>\r\n                    <td align=\"left\">\r\n                        <span style=\"FONT-WEIGHT: bold; FONT-SIZE: 16px;\"> Editare nomenclator:</span>\r\n                    </td>\r\n                </tr>\r\n            </TABLE>\r\n            <form name=\"zaforma\" action=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(22,41);to=(22,67)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(22,67);to=(24,54)]
			out.print("\" method=\"post\">\r\n                <input type=\"hidden\" name=\"action\" value=\"saveSetValue\">\r\n                <input type=\"hidden\" name=\"id\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(24,54);to=(24,71)]
			out.print(item.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(24,71);to=(25,55)]
			out.print("\">\r\n                <input type=\"hidden\" name=\"tip\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(25,55);to=(25,73)]
			out.print(item.getTip());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(25,73);to=(31,28)]
			out.print("\">\r\n\r\n                <table>\r\n                    <tr>\r\n                        <td>Tip:</td>\r\n                        <td>\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(31,28);to=(31,68)]
			out.print(SetValue.getTipName( item.getTip()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(31,68);to=(32,28)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(32,28);to=(32,85)]
			 if( errors != null && errors.get("tip") != null ) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(32,85);to=(32,110)]
			out.print(" <span style=\"color:red\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(32,110);to=(32,132)]
			out.print(errors.get("tip"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(32,132);to=(32,140)]
			out.print("</span> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(32,140);to=(32,147)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(32,147);to=(39,116)]
			out.print("\r\n                        </td>\r\n                    </tr>\r\n\r\n                    <tr>\r\n                        <td>Cod:</td>\r\n                        <td>\r\n                            <input type=\"text\" class=\"gsapinputtext\" size=\"50\" autocomplete=\"off\" name=\"cod\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(39,116);to=(39,156)]
			out.print(AppConstants.format( item.getCod()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(39,156);to=(41,28)]
			out.print("\">\r\n\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(41,28);to=(41,85)]
			 if( errors != null && errors.get("cod") != null ) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(41,85);to=(41,110)]
			out.print(" <span style=\"color:red\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(41,110);to=(41,132)]
			out.print(errors.get("cod"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(41,132);to=(41,140)]
			out.print("</span> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(41,140);to=(41,147)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(41,147);to=(47,120)]
			out.print("\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>Descriere:</td>\r\n                        <td>\r\n                            <input type=\"text\" class=\"gsapinputtext\" size=\"50\" autocomplete=\"off\" name=\"valoare\" value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(47,120);to=(47,164)]
			out.print(AppConstants.format( item.getValoare()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(47,164);to=(49,28)]
			out.print("\">\r\n\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(49,28);to=(49,89)]
			 if( errors != null && errors.get("valoare") != null ) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(49,89);to=(49,114)]
			out.print(" <span style=\"color:red\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(49,114);to=(49,140)]
			out.print(errors.get("valoare"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(49,140);to=(49,148)]
			out.print("</span> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(49,148);to=(49,155)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(49,155);to=(56,93)]
			out.print("\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td ></td>\r\n                        <td>\r\n                            <input type=\"submit\" value=\"Salveaza\"> &nbsp;\r\n                            <input type=\"button\" value=\"Renunta\" onclick=\"window.location = \'");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(56,93);to=(56,119)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(56,119);to=(56,144)]
			out.print("?action=showSetValue&tip=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(56,144);to=(56,162)]
			out.print(item.getTip());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/setValue/editSetValue.jsp";from=(56,162);to=(63,8)]
			out.print("\'\">\r\n                        </td>\r\n                    </tr>\r\n                </table>\r\n            </form>\r\n        </TD>\r\n    </TR>\r\n</TABLE>");
// end
		} catch (ThreadDeath tde) { throw tde;
		} catch (OutOfMemoryError ome) { throw ome;
		} catch (Throwable t) {
			if (!(t instanceof SkipPageException)) {
				try {
					out.clear();
				} catch(java.io.IOException _jspioex) {}
				_jspx_pageContext.handlePageException(t);
			}
		}finally{
			_jspFactory.releasePageContext(pageContext);
		}
	}

}
