Edit C:\galaxie\deploy\Tomcat6\work\Catalina\localhost\galaxie\old\org\apache\jsp\sales\enterprise\enterprise_005fjs_jsp.java
package org.apache.jsp.sales.enterprise; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class enterprise_005fjs_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); private static java.util.List _jspx_dependants; static { _jspx_dependants = new java.util.ArrayList(1); _jspx_dependants.add("/WEB-INF/taglib.tld"); } private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody; private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody; private javax.el.ExpressionFactory _el_expressionfactory; private org.apache.AnnotationProcessor _jsp_annotationprocessor; public Object getDependants() { return _jspx_dependants; } public void _jspInit() { _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory(); _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName()); } public void _jspDestroy() { _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.release(); _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.release(); } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { 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 { response.setContentType("text/html"); 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; response.setContentType("application/x-javascript"); out.write("\n"); out.write("\n"); out.write("var eraseFaxOnSubmit = false;\n"); out.write("\n"); out.write("function doOnLoad() {\n"); out.write("\tvar f = window.document.forms[0];\n"); out.write("\tif (f && f.name == 'Enterprise_form') {\n"); out.write("\t\tif (f.EntZip) {\n"); out.write("\t\t\tf.EntZip.onchange = doZipChange;\n"); out.write("\t\t}\n"); out.write("\t\t/*\n"); out.write("\t\tif (f.EntCtrID) {\n"); out.write("\t\t\tf.EntCtrID.onchange = doCountryChange;\n"); out.write("\t\t}\n"); out.write("\t\t*/\n"); out.write("\t\tif (f.EntPhone) {\n"); out.write("\t\t\tf.EntPhone.onchange = doPhoneChange;\n"); out.write("\t\t}\n"); out.write("\t\tif (f.EntFax) {\n"); out.write("\t\t\tf.EntFax.onchange = doFaxChange;\n"); out.write("\t\t}\n"); out.write("\n"); out.write("\t\tif (f.EntAcronym.value == '') {\n"); out.write("\t\t\tf.EntAcronym.value = f.EntCorpName.value;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (f.EntCity.value != '') {\n"); out.write("\t\t\tf.EntCity.value = checkString(f.EntCity.value, 'upper')\n"); out.write("\t\t}\n"); out.write("\t}\n"); out.write("}\n"); out.write("\n"); out.write("// Si vous changez l'algorithm ici, merci de la changer aussi dans EnterpriseBeanExtension.preSave()\n"); out.write("/*function matchCode() {\n"); out.write("\tvar countryID = document.forms[0].EntCtrID.options[document.forms[0].EntCtrID.selectedIndex].value;\n"); out.write("\tvar phone = doEpurePhone(document.forms[0].EntPhone.value);\n"); out.write("\tvar result = countryID;\n"); out.write("\tresult += '#' + phone.substring(0, phone.length - 3) ;\n"); out.write("\treturn result;\n"); out.write("}*/\n"); out.write("\n"); out.write("function lnkDoReturn() {\n"); out.write("\tsetTimeout(refreshLnks, 20);\n"); out.write("}\n"); out.write("\n"); out.write("function doSubmit() {\n"); out.write("\tvar f = document.forms[0];\n"); out.write("\t//f.EntMatchCode.value = matchCode();\n"); out.write("\t\n"); out.write("\t\t\n"); out.write("\tif (eraseFaxOnSubmit) {\n"); out.write("\t\tf.EntFax.value = '';\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\treturn true;\n"); out.write("}\n"); out.write("\n"); out.write("function doZipChange() {\n"); out.write("\tvar f = document.forms[0];\n"); out.write("\tretrieveCity(f.EntCtrID.options[f.EntCtrID.selectedIndex].value, f.EntZip.value, 'EntCity'); \n"); out.write("}\n"); out.write("\n"); out.write("function doCountryChange() {\n"); out.write("\tvar f = document.forms[0];\n"); out.write("\tvar field = f.EntCtrID;\n"); out.write("\tvar oldCountry = f.country;\n"); out.write("\tretrieveCity(field.options[field.selectedIndex].value, f.EntZip.value, 'EntCity');\n"); out.write("\tdoEpureTel(f.EntPhone, f.EntPhone, oldCountry); \n"); out.write("\tdoEpureTel(f.EntFax, f.EntFax, oldCountry); \n"); out.write("\toldCountry.value = field.options[field.selectedIndex].value;\n"); out.write("\tdoFormatTel(f.EntPhone, '"); if (_jspx_meth_fl_005fgetMessage_005f0(_jspx_page_context)) return; out.write(" :', field); \n"); out.write("\tdoFormatTel(f.EntFax, '"); if (_jspx_meth_fl_005fgetMessage_005f1(_jspx_page_context)) return; out.write(" :', field);\n"); out.write("\tdoDisplayEntIntraVAT();\n"); out.write("\t//doVerifMatchCode();\n"); out.write("}\n"); out.write("\n"); out.write("function doPhoneChange() {\n"); out.write("\tvar f = document.forms[0];\n"); out.write("\tvar phoneField = f.EntPhone;\n"); out.write("\tvar faxField = f.EntFax;\n"); out.write("\tvar countryField = f.EntCtrID;\n"); out.write("\tif (faxField.value == '' && phoneField.value.length > 3) {\n"); out.write("\t\tfaxField.value = suppressNcarac(phoneField.value, 3);\n"); out.write("\t\teraseFaxOnSubmit = true;\n"); out.write("\t}\n"); out.write("\tdoFormatTel(phoneField, '"); if (_jspx_meth_fl_005fgetMessage_005f2(_jspx_page_context)) return; out.write(" :', countryField);\n"); out.write("\t//doVerifMatchCode();\n"); out.write("}\n"); out.write("\n"); out.write("function suppressNcarac(string, nbcarac) {\n"); out.write("\tvar cpt = 0;\n"); out.write("\tvar tempValue = string;\n"); out.write("\tfor (i = string.length - 1; i > 0 && cpt < nbcarac ; i--) {\n"); out.write("\t\t\tif (tempValue[i] != ' ') {\n"); out.write("\t\t\t\tcpt ++;\n"); out.write("\t\t\t}\n"); out.write("\t\ttempValue = tempValue.substring(0, i);\n"); out.write("\t}\n"); out.write("\treturn tempValue;\n"); out.write("}\n"); out.write("\n"); out.write("function doFaxChange() {\n"); out.write("\tvar f = document.forms[0];\n"); out.write("\tvar faxField = f.EntFax;\n"); out.write("\tvar countryField = f.EntCtrID;\n"); out.write("\tdoFormatTel(faxField, '"); if (_jspx_meth_fl_005fgetMessage_005f3(_jspx_page_context)) return; out.write(" :', countryField);\n"); out.write("\teraseFaxOnSubmit = false;\n"); out.write("}\n"); out.write("\n"); out.write("/*function doVerifMatchCode() {\n"); out.write("\tvar f = document.forms[0];\n"); out.write("\tif (f.EntPhone.value != '' && f.EntCtrID.options[f.EntCtrID.selectedIndex].value != '') {\n"); out.write("\t\tvar url = \""); if (_jspx_meth_fl_005fwebapp_005f0(_jspx_page_context)) return; out.write("/matchcodeEnt.fl?matchcode=\" + encodeURIComponent(matchCode());\n"); out.write("\t\tif (f.id.value != '') {\n"); out.write("\t\t\turl += \"&id=\" + encodeURIComponent(f.id.value);\n"); out.write("\t\t}\n"); out.write("\t\tdoAjax(url);\n"); out.write("\t}\n"); out.write("}*/\n"); out.write("\n"); out.write("function doChangeSector() {\n"); out.write("\tvar strActID = document.forms[0].EntActID.value;\n"); out.write("\tif (strActID != '') {\n"); out.write("\t\twindow.open('"); if (_jspx_meth_fl_005fwebapp_005f1(_jspx_page_context)) return; out.write("/select_sector.fl?id=' + strActID + '&field=EntSector', 'ChoixSecteur', 'menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes,width=500,height=250');\n"); out.write("\t} else {\n"); out.write("\t\twindow.alert('"); if (_jspx_meth_fl_005fgetMessage_005f4(_jspx_page_context)) return; out.write("');\n"); out.write("\t}\n"); out.write("}\n"); } catch (Throwable t) { if (!(t instanceof SkipPageException)){ out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) {} if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } } private boolean _jspx_meth_fl_005fgetMessage_005f0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:getMessage com.edeal.frontline.GetMessageTag _jspx_th_fl_005fgetMessage_005f0 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class); _jspx_th_fl_005fgetMessage_005f0.setPageContext(_jspx_page_context); _jspx_th_fl_005fgetMessage_005f0.setParent(null); // /sales/enterprise/enterprise_js.jsp(73,26) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f0.setCode("L30B8"); // /sales/enterprise/enterprise_js.jsp(73,26) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f0.setAlt("Saisie du téléphone"); // /sales/enterprise/enterprise_js.jsp(73,26) name = js type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f0.setJs("true"); int _jspx_eval_fl_005fgetMessage_005f0 = _jspx_th_fl_005fgetMessage_005f0.doStartTag(); if (_jspx_th_fl_005fgetMessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f0); return true; } _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f0); return false; } private boolean _jspx_meth_fl_005fgetMessage_005f1(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:getMessage com.edeal.frontline.GetMessageTag _jspx_th_fl_005fgetMessage_005f1 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class); _jspx_th_fl_005fgetMessage_005f1.setPageContext(_jspx_page_context); _jspx_th_fl_005fgetMessage_005f1.setParent(null); // /sales/enterprise/enterprise_js.jsp(74,24) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f1.setCode("L30B9"); // /sales/enterprise/enterprise_js.jsp(74,24) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f1.setAlt("Saisie du fax"); // /sales/enterprise/enterprise_js.jsp(74,24) name = js type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f1.setJs("true"); int _jspx_eval_fl_005fgetMessage_005f1 = _jspx_th_fl_005fgetMessage_005f1.doStartTag(); if (_jspx_th_fl_005fgetMessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f1); return true; } _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f1); return false; } private boolean _jspx_meth_fl_005fgetMessage_005f2(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:getMessage com.edeal.frontline.GetMessageTag _jspx_th_fl_005fgetMessage_005f2 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class); _jspx_th_fl_005fgetMessage_005f2.setPageContext(_jspx_page_context); _jspx_th_fl_005fgetMessage_005f2.setParent(null); // /sales/enterprise/enterprise_js.jsp(88,26) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f2.setCode("L30B8"); // /sales/enterprise/enterprise_js.jsp(88,26) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f2.setAlt("Saisie du téléphone"); // /sales/enterprise/enterprise_js.jsp(88,26) name = js type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f2.setJs("true"); int _jspx_eval_fl_005fgetMessage_005f2 = _jspx_th_fl_005fgetMessage_005f2.doStartTag(); if (_jspx_th_fl_005fgetMessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f2); return true; } _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f2); return false; } private boolean _jspx_meth_fl_005fgetMessage_005f3(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:getMessage com.edeal.frontline.GetMessageTag _jspx_th_fl_005fgetMessage_005f3 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class); _jspx_th_fl_005fgetMessage_005f3.setPageContext(_jspx_page_context); _jspx_th_fl_005fgetMessage_005f3.setParent(null); // /sales/enterprise/enterprise_js.jsp(108,24) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f3.setCode("L30B9"); // /sales/enterprise/enterprise_js.jsp(108,24) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f3.setAlt("Saisie du fax"); // /sales/enterprise/enterprise_js.jsp(108,24) name = js type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f3.setJs("true"); int _jspx_eval_fl_005fgetMessage_005f3 = _jspx_th_fl_005fgetMessage_005f3.doStartTag(); if (_jspx_th_fl_005fgetMessage_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f3); return true; } _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f3); return false; } private boolean _jspx_meth_fl_005fwebapp_005f0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:webapp com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f0 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f0.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f0.setParent(null); int _jspx_eval_fl_005fwebapp_005f0 = _jspx_th_fl_005fwebapp_005f0.doStartTag(); if (_jspx_th_fl_005fwebapp_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f0); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f0); return false; } private boolean _jspx_meth_fl_005fwebapp_005f1(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:webapp com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f1 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f1.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f1.setParent(null); int _jspx_eval_fl_005fwebapp_005f1 = _jspx_th_fl_005fwebapp_005f1.doStartTag(); if (_jspx_th_fl_005fwebapp_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f1); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f1); return false; } private boolean _jspx_meth_fl_005fgetMessage_005f4(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:getMessage com.edeal.frontline.GetMessageTag _jspx_th_fl_005fgetMessage_005f4 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class); _jspx_th_fl_005fgetMessage_005f4.setPageContext(_jspx_page_context); _jspx_th_fl_005fgetMessage_005f4.setParent(null); // /sales/enterprise/enterprise_js.jsp(128,16) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f4.setCode("M3002"); // /sales/enterprise/enterprise_js.jsp(128,16) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f4.setAlt("Vous devez choisir un acteur"); // /sales/enterprise/enterprise_js.jsp(128,16) name = js type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f4.setJs("true"); int _jspx_eval_fl_005fgetMessage_005f4 = _jspx_th_fl_005fgetMessage_005f4.doStartTag(); if (_jspx_th_fl_005fgetMessage_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f4); return true; } _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f4); return false; } }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de