/* 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 java.util.List;
import ro.emid.common.types.AppProperty;
import ro.emid.common.constants.AppConstants;
import ro.emid.common.types.AppPropertyConstants;
import ro.emid.Application;

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

public class JEE_jsp_WEB_2d_INF_pagelet_admin_properties_properties_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/properties/properties.jsp";from=(1,35);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/properties/properties.jsp";from=(2,53);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/properties/properties.jsp";from=(3,58);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/properties/properties.jsp";from=(4,62);to=(5,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/properties/properties.jsp";from=(5,40);to=(9,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(9,0);to=(14,2)]
			
    /**
     * @see ro.emid.administrare.action.properties.LoadPropertiesAction
     */
    final List properties = (List) request.getAttribute( "properties");

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(14,2);to=(16,29)]
			out.print("\r\n\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/properties/properties.jsp";from=(16,29);to=(16,55)]
			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/properties/properties.jsp";from=(16,55);to=(23,12)]
			out.print("?action=save-properties\" method=\"post\">\r\n<table width=\"600px\">\r\n    <tr>\r\n        <td align=\"left\">\r\n            <span>Propriet\u0103\u0163i</span>\r\n        </td>\r\n        <td align=\"right\">\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/properties/properties.jsp";from=(23,12);to=(25,14)]
			
                if(!Application.runAsAparatCentral()){
            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(25,14);to=(27,12)]
			out.print("\r\n            <input type=\"submit\" value=\"Salveaz\u0103\">\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/properties/properties.jsp";from=(27,12);to=(29,14)]
			
                }
            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(29,14);to=(42,16)]
			out.print("\r\n\r\n        </td>\r\n    </tr>\r\n    <tr><td colspan=\"2\">\r\n        <table cellPadding=2 cellSpacing=1 width=\"100%\" class=\"table\">\r\n            <thead>\r\n                <tr>\r\n                    <td height=25>&nbsp;Descriere&nbsp;</td>\r\n                    <td width=\"10\">&nbsp;Valoare&nbsp;</td>\r\n                </tr>\r\n            </thead>\r\n            <tbody>\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/properties/properties.jsp";from=(42,16);to=(42,71)]
			 if( properties == null || properties.size() == 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/properties/properties.jsp";from=(42,71);to=(50,16)]
			out.print("\r\n\r\n                    <tr>\r\n                        <td class=\"no-data\">\r\n                            Nu exist\u0103 date ...\r\n                        </td>\r\n                    </tr>\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/properties/properties.jsp";from=(50,16);to=(51,78)]
			 }else for (Object property : properties) {
                    final AppProperty appProperty = (AppProperty) property; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(51,78);to=(55,65)]
			out.print("\r\n\r\n                    <tr>\r\n                        <td nowrap>\r\n                            <input type=\"hidden\" size=\"50\" name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(55,65);to=(55,98)]
			out.print(AppPropertyConstants.JSP.KEY);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(55,98);to=(56,42)]
			out.print("\"\r\n                                   value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(56,42);to=(56,67)]
			out.print(appProperty.getKey());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(56,67);to=(57,28)]
			out.print("\">\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/properties/properties.jsp";from=(57,28);to=(57,79)]
			out.print(AppConstants.format(appProperty.getNiceText()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(57,79);to=(60,28)]
			out.print("\r\n                        </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/properties/properties.jsp";from=(60,28);to=(62,30)]
			
                                if (!Application.runAsAparatCentral()) {
                            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(62,30);to=(63,63)]
			out.print("\r\n                            <input type=\"text\" size=\"20\" name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(63,63);to=(63,88)]
			out.print(appProperty.getKey());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(63,88);to=(64,42)]
			out.print("\"\r\n                                   value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(64,42);to=(64,91)]
			out.print(AppConstants.format( appProperty.getValue()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(64,91);to=(65,28)]
			out.print("\">\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/properties/properties.jsp";from=(65,28);to=(67,30)]
			
                            } else {
                            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(67,30);to=(68,83)]
			out.print("\r\n                            <input type=\"text\" size=\"20\" disabled=\"disabled\" name=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(68,83);to=(68,108)]
			out.print(appProperty.getKey());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(68,108);to=(69,42)]
			out.print("\"\r\n                                   value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(69,42);to=(69,91)]
			out.print(AppConstants.format( appProperty.getValue()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(69,91);to=(70,28)]
			out.print("\">\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/properties/properties.jsp";from=(70,28);to=(72,30)]
			
                                }
                            
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(72,30);to=(75,16)]
			out.print("\r\n                        </td>\r\n                    </tr>\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/properties/properties.jsp";from=(75,16);to=(75,23)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-admin/servlet_jsp/emid-admin/root/WEB-INF/pagelet/admin/properties/properties.jsp";from=(75,23);to=(81,0)]
			out.print("\r\n            </tbody>\r\n        </table>\r\n    </td></tr>\r\n</table>\r\n</form>\r\n");
// 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);
		}
	}

}
