package org.apache.jsp.js; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import com.edeal.frontline.navigation.FlRequest; import com.edeal.frontline.FlContext; import com.edeal.frontline.DataDictionary; import com.edeal.frontline.Utils; import com.edeal.frontline.services.cti.CTIServiceClient; import com.edeal.frontline.controller.actions.DisplaySimpleMessageAction; import com.edeal.frontline.controller.actions.BackgroundAjaxAction; import com.edeal.frontline.controller.actions.SaveActionbarCssAction; import com.edeal.frontline.controller.actions.RetrieveLabelAjax; import com.edeal.frontline.controller.actions.ListMenuMassSelectLayerAction; public final class global_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_005fwebapp_005fnobody; private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_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_005fwebapp_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_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_005fwebapp_005fnobody.release(); _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_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; out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); response.setContentType("application/x-javascript"); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); String strActID = (String)session.getAttribute("actorID"); out.write("function login_ajax() {\n"); out.write("\tvar f = document.forms['login_form'];\n"); out.write("\tif (!f) {\n"); out.write("\t\treturn false;\n"); out.write("\t}\n"); out.write("\tif (f.login.value == '') {\n"); out.write("\t\treturn false;\n"); out.write("\t}\n"); out.write("\tvar url = '"); if (_jspx_meth_fl_005fwebapp_005f0(_jspx_page_context)) return; out.write("/login_ajax.fl?login=' + encodeURIComponent(f.login.value);\n"); out.write("\tif (f.pwd) {\n"); out.write("\t\turl += '&pwd=' + encodeURIComponent(f.pwd.value);\n"); out.write("\t}\n"); out.write("\tif (f.forwardPage) {\n"); out.write("\t\turl += '&forwardPage=' + encodeURIComponent(f.forwardPage.value);\n"); out.write("\t}\n"); out.write("\tif (f.resolutionX) {\n"); out.write("\t\turl += '&resolutionX=' + encodeURIComponent(f.resolutionX.value);\n"); out.write("\t}\n"); out.write("\tif (f.resolutionY) {\n"); out.write("\t\turl += '&resolutionY=' + encodeURIComponent(f.resolutionY.value);\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\tdoAjax(url);\n"); out.write("\t\n"); out.write("\treturn false;\n"); out.write("}\n"); out.write(" \n"); out.write(" \n"); out.write("//implements the Array.indexOf (does not exists in IE <= 8)\n"); out.write("\n"); out.write("if (!Array.prototype.indexOf) {\n"); out.write("\tArray.prototype.indexOf = function(obj, start) {\n"); out.write(" \t for (var i = (start || 0), j = this.length; i < j; i++) {\n"); out.write(" \t if (this[i] === obj) { return i; }\n"); out.write(" \t}\n"); out.write(" \treturn -1;\n"); out.write("\t}\n"); out.write("}\n"); out.write("\n"); out.write("if (typeof console == \"undefined\") {\n"); out.write("\tconsole = {};\n"); out.write("\tconsole.log = function(astring) {return false;};\n"); out.write("}\n"); out.write(" \n"); out.write("String.prototype.trim = function () {\n"); out.write(" return this.replace(/^\\s*/, \"\").replace(/\\s*$/, \"\");\n"); out.write("}\n"); out.write("\n"); out.write("function unicity(field, value, type, id, msg, formName, origValue) {\n"); out.write("\tif (!field || !value) {\n"); out.write("\t\treturn;\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\t// If we revert back to the original value, that's ok, just return\n"); out.write("\tif (origValue != '' && origValue.toUpperCase() == value.toUpperCase()) {\n"); out.write("\t\treturn;\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\tvar url = '"); if (_jspx_meth_fl_005fwebapp_005f1(_jspx_page_context)) return; out.write("/unicity.fl?field=' + encodeURIComponent(field);\n"); out.write("\tif (type) {\n"); out.write("\t\turl += \"&type=\" + encodeURIComponent(type);\n"); out.write("\t}\n"); out.write("\tif (id) {\n"); out.write("\t\turl += \"&id=\" + encodeURIComponent(id);\n"); out.write("\t}\n"); out.write("\tif (value) {\n"); out.write("\t\turl += \"&value=\" + encodeURIComponent(value);\n"); out.write("\t}\n"); out.write("\tif (msg) {\n"); out.write("\t\turl += \"&msg=\" + encodeURIComponent(msg);\n"); out.write("\t}\n"); out.write("\tif (formName) {\n"); out.write("\t\turl += \"&formName=\" + encodeURIComponent(formName);\n"); out.write("\t}\n"); out.write("\tdoAjax(url);\n"); out.write("}\n"); out.write("\n"); out.write("\n"); out.write("// Just add the setting of property ed_loaded to the body onload stack\n"); out.write("jsOnload.add(\"window.document['ed_loaded']=true\");\n"); out.write("\n"); out.write("function doOpenHistory(objID) {\n"); out.write("\twindow.open('"); if (_jspx_meth_fl_005fwebapp_005f2(_jspx_page_context)) return; out.write("/admin/history/embedded_list.jsp?id=' + objID, 'History', 'menubar=no, status=no, toolbar=no, scrollbars=yes, resizable=no, width=860, height=450');\n"); out.write("}\n"); out.write("\n"); out.write("function mandatoryFields() {\n"); out.write("\tvar mFields = document.forms[0].elements[\"mandatory\"];\n"); out.write("\tif (mFields && !mFields.length) {\n"); out.write("\t\tvar tmp = new Array();\n"); out.write("\t\ttmp[0] = mFields;\n"); out.write("\t\tmFields = tmp;\n"); out.write("\t}\n"); out.write("\tvar messages = new Array();\n"); out.write("\tvar allOK = true;\n"); out.write("\tif (mFields) {\n"); out.write("\t\tfor (var i = 0; i < mFields.length; i++) {\n"); out.write("\t\t\tvar element = mFields[i];\n"); out.write("\t\t\tvar fieldName = element.value;\n"); out.write("\t\t\tvar msg = document.getElementById(\"mandatory.\" + fieldName).value;\n"); out.write("\t\t\tvar fields = document.forms[0].elements[fieldName];\n"); out.write("\t\t\tif (fields && (!fields.length || fields.type == \"select-one\" || fields.type == \"select-multiple\")) {\n"); out.write("\t\t\t\tvar tmp = new Array();\n"); out.write("\t\t\t\ttmp[0] = fields;\n"); out.write("\t\t\t\tfields = tmp;\n"); out.write("\t\t\t}\n"); out.write("\t\t\tif (!fields) {\n"); out.write("\t\t\t\t//fields managed by views\n"); out.write("\t\t\t\t//must be self validated with view.isOnError();\n"); out.write("\t\t\t\tvar view = edManager.getViewByID(fieldName);\n"); out.write("\t\t\t}\n"); out.write("\t\t\t\n"); out.write("\t\t\tvar needAlert = false;\n"); out.write("\t\t\t\n"); out.write("\t\t\tif (view) {\n"); out.write("\t\t\t\tif (view.options.ismultivalued) {\n"); out.write("\t\t\t\t\tif (view.model.length == 0) {\n"); out.write("\t\t\t\t\t\tneedAlert = true;\n"); out.write("\t\t\t\t\t}\n"); out.write("\t\t\t\t} else {\n"); out.write("\t\t\t\t\tif (view.model.get(\"value\") == \"\") {\n"); out.write("\t\t\t\t\t\tneedAlert = true;\n"); out.write("\t\t\t\t\t}\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t} else {\n"); out.write("\t\t\t\tif (fields.length >= 1) {\n"); out.write("\t\t\t\t\tvar fieldType = fields[0].type;\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\tif (fieldType == \"select-one\") {\n"); out.write("\t\t\t\t\t\tif (fields[0].options[fields[0].selectedIndex] != undefined) {\n"); out.write("\t\t\t\t\t\t\tif (fields[0].options[fields[0].selectedIndex].value == \"\") {\n"); out.write("\t\t\t\t\t\t\t\tneedAlert = true;\n"); out.write("\t\t\t\t\t\t\t}\n"); out.write("\t\t\t\t\t\t}\n"); out.write("\t\t\t\t\t} else if (fieldType == \"select-multiple\") {\n"); out.write("\t\t\t\t\t\tif (fields[0].selectedIndex < 0) {\n"); out.write("\t\t\t\t\t\t\tneedAlert = true;\n"); out.write("\t\t\t\t\t\t}\n"); out.write("\t\t\t\t\t} else if (fieldType == \"radio\" || fieldType == \"checkbox\") {\n"); out.write("\t\t\t\t\t\tvar isChecked = false;\n"); out.write("\t\t\t\t\t\tfor (var j = 0; j < fields.length; j++) {\n"); out.write("\t\t\t\t\t\t\tif (fields[j].checked) {\n"); out.write("\t\t\t\t\t\t\t\tisChecked = true;\n"); out.write("\t\t\t\t\t\t\t}\n"); out.write("\t\t\t\t\t\t}\n"); out.write("\t\t\t\t\t\tneedAlert = !isChecked;\n"); out.write("\t\t\t\t\t} else {\n"); out.write("\t\t\t\t\t\tneedAlert = (fields[0].value.trim() == \"\");\n"); out.write("\t\t\t\t\t}\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t}\n"); out.write("\t\t\tif (needAlert) {\n"); out.write("\t\t\t\tallOK = false;\n"); out.write("\t\t\t\tmessages[messages.length] = msg;\n"); out.write("\t\t\t\tdocument.getElementById(fieldName + \"_msg\").style.display = \"inline\";\n"); out.write("\t\t\t} else {\n"); out.write("\t\t\t\tdocument.getElementById(fieldName + \"_msg\").style.display = \"none\";\n"); out.write("\t\t\t}\n"); out.write("\t\t}\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\tif (messages.length > 0) {\n"); out.write("\t\tvar msg = \"\";\n"); out.write("\t\tfor (var i = 0; i < messages.length; i++) {\n"); out.write("\t\t\tmsg += messages[i] + \"\\n\";\n"); out.write("\t\t}\n"); out.write("\t\twindow.alert(msg);\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\treturn allOK;\n"); out.write("}\n"); out.write("// *********** ZIP CODE MANAGMENT **********\n"); out.write("// ** Retrieve a city label according to zipcode & country\n"); out.write("function retrieveCity(country, zipCode, cityFieldName, formName) {\n"); out.write("\tif (country && zipCode && cityFieldName) {\n"); out.write("\t\tvar f;\n"); out.write("\t\tif (formName) {\n"); out.write("\t\t\tf = document.forms[formName];\n"); out.write("\t\t} else {\n"); out.write("\t\t\tf = document.forms[0];\n"); out.write("\t\t}\n"); out.write("\n"); out.write("\t\tvar query = \"?zip=\" + encodeURIComponent(zipCode) + \"&country=\" + encodeURIComponent(country) + \"&field=\" + encodeURIComponent(cityFieldName);\n"); out.write("\t\tif (formName) {\n"); out.write("\t\t\tquery += \"&form=\" + encodeURIComponent(formName);\n"); out.write("\t\t}\n"); out.write("\t\tdoAjax(\""); if (_jspx_meth_fl_005fwebapp_005f3(_jspx_page_context)) return; out.write("/getcitylist.fl\" + query);\n"); out.write("\t}\n"); out.write("}\n"); out.write("\n"); out.write("var doSubmit = null;\n"); out.write("var afterSubmit = null;\n"); out.write("\n"); out.write("var flagSubmit = false;\n"); out.write("\n"); out.write("$(document).one(\"onallviewsrendered\", function() {\n"); out.write("\tflagSubmit = true;\n"); out.write("});\n"); out.write("\n"); out.write("function submit() {\n"); out.write("\tif (typeof(edApplication) == \"undefined\") {\n"); out.write("\t\tflagSubmit = true;\n"); out.write("\t}\n"); out.write("\tif (flagSubmit) {\n"); out.write("\t\tflagSubmit = false;\n"); out.write("\t\t\n"); out.write("\t\tdoExitConf = false;\n"); out.write("\t\tif (!mandatoryFields()) {\n"); out.write(" flagSubmit = true;\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tpresentFieldsValue();\n"); out.write("\t\tif (doSubmit){\n"); out.write("\t\t\tif (!doSubmit()) {\n"); out.write("\t\t\t\tflagSubmit = true;\n"); out.write("\t\t\t\treturn;\n"); out.write("\t\t\t}\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tdocument.forms[0].submit();\n"); out.write("\t\t\n"); out.write("\t\tif (afterSubmit != null) {\n"); out.write("\t\t\tafterSubmit();\n"); out.write("\t\t}\n"); out.write("\t}\n"); out.write("}\n"); out.write("\n"); out.write("function checkAlarms() {\n"); out.write("\tdoAjax('"); if (_jspx_meth_fl_005flink_005f0(_jspx_page_context)) return; out.write("');\n"); out.write("}\n"); out.write("\n"); out.write("var editNoteStatus = false;\n"); out.write("function editBlocNote(saveUrl) {\n"); out.write("\tif (saveUrl==null) {\n"); out.write("\t\tsaveUrl=\""); if (_jspx_meth_fl_005flink_005f1(_jspx_page_context)) return; out.write("\";\n"); out.write("\t}\n"); out.write("\tvar divNode = document.getElementById(\"read_note\");\n"); out.write("\tvar textNode = document.getElementById(\"edit_note\");\n"); out.write("\tif (editNoteStatus) {\n"); out.write("\t\t// on passe en lecture\n"); out.write("\t\tvar msg = textNode.value;\n"); out.write("\t\tdoAjax(saveUrl+\"&ActNotes=\" + encodeURIComponent(msg));\n"); out.write("\t\tdivNode.innerHTML = msg.split(\"\\n\").join(\"
\");\n"); out.write("\t\ttextNode.style.display = \"none\";\n"); out.write("\t\tdivNode.style.display = \"block\";\n"); out.write("\t} else {\n"); out.write("\t\t// on passe en edition\n"); out.write("\t\tvar msg = divNode.innerHTML;\n"); out.write("\t\tif (msg) {\n"); out.write("\t\t\ttextNode.value = msg.split(\"
\").join(\"\\n\").split(\"
\").join(\"\\n\");\n"); out.write("\t\t} else {\n"); out.write("\t\t\ttextNode.value = \"\";\n"); out.write("\t\t}\n"); out.write("\t\tdivNode.style.display = \"none\";\n"); out.write("\t\ttextNode.style.display = \"block\";\n"); out.write("\t\ttextNode.focus();\n"); out.write("\t}\n"); out.write("\teditNoteStatus = !editNoteStatus;\n"); out.write("}\n"); out.write("\n"); out.write("function changeActorStatus(actorStatusURL) {\n"); out.write("\tif (actorStatusURL == null) {\n"); out.write("\t\tactorStatusURL = \""); // fl:link com.edeal.frontline.navigation.UrlTag _jspx_th_fl_005flink_005f2 = (com.edeal.frontline.navigation.UrlTag) _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.get(com.edeal.frontline.navigation.UrlTag.class); _jspx_th_fl_005flink_005f2.setPageContext(_jspx_page_context); _jspx_th_fl_005flink_005f2.setParent(null); // /js/global_js.jsp(280,20) name = url type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005flink_005f2.setUrl( "/save_object_ajax.fl?type=Actor&$$presentFields=ActStaID&id=" + (String)session.getAttribute("actorID") ); int _jspx_eval_fl_005flink_005f2 = _jspx_th_fl_005flink_005f2.doStartTag(); if (_jspx_th_fl_005flink_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f2); return; } _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f2); out.write("\"; \n"); out.write("\t}\n"); out.write("\tvar node = document.getElementById(\"actorstatus\");\n"); out.write("\tvar currStatus = node.getAttribute(\"actorstatus\");\n"); out.write("\t"); out.write("\n"); out.write("\tif (currStatus == '"); out.print(dico.getRefIdByCode("Sta", "Val", "ACTIF")); out.write("') {\n"); out.write("\t\tnode.setAttribute('actorstatus', '"); out.print(dico.getRefIdByCode("Sta", "Val", "INDISPO")); out.write("');\n"); out.write("\t\tnode.src = '"); if (_jspx_meth_fl_005fwebapp_005f4(_jspx_page_context)) return; out.write("/icons/infobar/ico_pas_dispo.gif';\n"); out.write("\t\tnode.title = '"); out.print(dico.getRefDisp(session, "Sta", "Te1", dico.getRefIdByCode("Sta", "Val", "INDISPO"))); out.write("'\n"); out.write("\t\tdoAjax(actorStatusURL + \"&ActStaID=\" + encodeURIComponent('"); out.print(dico.getRefIdByCode("Sta", "Val", "INDISPO")); out.write("'));\n"); out.write("\t\t"); out.write("\n"); out.write("\t\tdoSubmit(1);\n"); out.write("\t} else {\n"); out.write("\t\tnode.setAttribute('actorstatus', '"); out.print(dico.getRefIdByCode("Sta", "Val", "ACTIF")); out.write("');\n"); out.write("\t\tnode.src = '"); if (_jspx_meth_fl_005fwebapp_005f5(_jspx_page_context)) return; out.write("/icons/infobar/ico_dispo.gif';\n"); out.write("\t\tnode.title = '"); out.print(dico.getRefDisp(session, "Sta", "Te1", dico.getRefIdByCode("Sta", "Val", "ACTIF"))); out.write("'\n"); out.write("\t\tdoAjax(actorStatusURL + \"&ActStaID=\" + encodeURIComponent('"); out.print(dico.getRefIdByCode("Sta", "Val", "ACTIF")); out.write("'));\n"); out.write("\t\t"); out.write("\n"); out.write("\t\tdoSubmit(2);\n"); out.write("\t}\n"); out.write("\t}\n"); out.write("\n"); out.write('\n'); out.write("\n"); out.write("function doSubmit(status) {\n"); out.write("\tvar window = window.open('"); if (_jspx_meth_fl_005fwebapp_005f6(_jspx_page_context)) return; out.write("/cti/testagentready2.jsp');\n"); out.write("\tif (status == 1) {\n"); out.write("\t\twindow.setAgentReady(true, 'READY');\n"); out.write("\t} else {\n"); out.write("\t\twindow.setAgentReady(false, 'NOT_READY');\n"); out.write("\t}\n"); out.write("\twindow.close();\n"); out.write("}\n"); out.write("\n"); out.write("imgContract = new Image();\n"); out.write("imgContract.src = '"); if (_jspx_meth_fl_005fwebapp_005f7(_jspx_page_context)) return; out.write("/icons/ico/contraction.gif' ;\n"); out.write("imgExpand = new Image();\n"); out.write("imgExpand.src = '"); if (_jspx_meth_fl_005fwebapp_005f8(_jspx_page_context)) return; out.write("/icons/ico/expand.gif' ;\n"); out.write("\n"); out.write("function expandNotes(divID, nbPix) {\n"); out.write("\tvar element = document.getElementById(divID + \"_value\");\n"); out.write("\tvar height = element.scrollHeight;\n"); out.write("\tvar maxHeight = element.style.maxHeight;\n"); out.write(" var args;\n"); out.write(" var o = document.getElementById(divID + \"_value\");\n"); out.write("\tif (maxHeight == \"100%\") {\n"); out.write(" \tif (!o) return;\n"); out.write(" \tdocument.images['expander'+divID].src = imgContract.src;\n"); out.write("\t\telement.style.maxHeight = nbPix + \"px\";\n"); out.write("\t\tif (height > nbPix) {\n"); out.write("\t\t\telement.style.height = nbPix + \"px\";\n"); out.write("\t\t} else {\n"); out.write("\t\t\telement.style.height = \"auto\";\n"); out.write("\t\t}\n"); out.write("\t\t$(\"#\"+divID + \"_value_link\").show();\n"); out.write("\t} else {\n"); out.write(" \tif (!o) return;\n"); out.write(" \tdocument.images['expander'+divID].src = imgExpand.src;\n"); out.write("\t\telement.style.maxHeight = \"100%\";\n"); out.write("\t\telement.style.height = \"100%\";\n"); out.write("\t\t$(\"#\"+divID + \"_value_link\").hide();\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\t// remove link \"lire la suite\"\n"); out.write("\t//\t$(\"#\"+divID + \"_value_link\").remove();\n"); out.write("\t\n"); out.write("\treturn false;\n"); out.write("}\n"); out.write("\n"); out.write("function findWindowWidth() {\n"); out.write("\tvar myWidth = 0;\n"); out.write("\tif( typeof( window.innerWidth ) == 'number' ) {\n"); out.write("\t //Non-IE\n"); out.write("\t myWidth = window.innerWidth;\n"); out.write("\t} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {\n"); out.write("\t //IE 6+ in 'standards compliant mode'\n"); out.write("\t myWidth = document.documentElement.clientWidth;\n"); out.write("\t} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {\n"); out.write("\t //IE 4 compatible\n"); out.write("\t myWidth = document.body.clientWidth;\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\treturn myWidth;\n"); out.write("}\n"); out.write("\n"); out.write("function findWindowHeight() {\n"); out.write("\tvar myHeight = 0;\n"); out.write("\tif( typeof( window.innerWidth ) == 'number' ) {\n"); out.write("\t //Non-IE\n"); out.write("\t myHeight = window.innerHeight;\n"); out.write("\t} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {\n"); out.write("\t //IE 6+ in 'standards compliant mode'\n"); out.write("\t myHeight = document.documentElement.clientHeight;\n"); out.write("\t} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {\n"); out.write("\t //IE 4 compatible\n"); out.write("\t myHeight = document.body.clientHeight;\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\treturn myHeight;\n"); out.write("}\n"); out.write("\n"); out.write("function doOnLoadHandler(e) {\n"); out.write("\ttry {\n"); out.write("\t\tif (doOnLoad) {\n"); out.write("\t\tdoOnLoad();\n"); out.write("\t\t}\n"); out.write("\t} catch (error) {\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\ttry {\n"); out.write("\t\tjsOnload.run();\n"); out.write("\t} catch (ex) {\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\tvar urlRandomizer = (new Date()).getTime();\n"); out.write("\tdoAjax('"); if (_jspx_meth_fl_005fwebapp_005f9(_jspx_page_context)) return; out.write("/loadCTI_ajax.fl?rand=' + urlRandomizer);\n"); out.write("\n"); out.write("\t// If we're editing, then set up the confirmation dialog window\n"); out.write("\tvar windowHref = window.location.href;\n"); out.write("\tif (windowHref.indexOf('?') >= 0) {\n"); out.write("\t\twindowHref = windowHref.substring(0, windowHref.indexOf('?')); \n"); out.write("\t}\n"); out.write("\t\n"); out.write("\tif (windowHref.indexOf('edit') >= 0 || windowHref.indexOf('create') >= 0) {\n"); out.write("\t\tsetUpConfDialog();\n"); out.write("\t}\n"); out.write("}\n"); out.write("\n"); out.write("// This should be the only window.onload! If you need to run some javascript\n"); out.write("// when the page is loaded, the use the jsOnload javascript object, or \n"); out.write("// implement a doOnLoad() method in your page\n"); out.write("window.onload = doOnLoadHandler;\n"); out.write("\n"); out.write("function addInteractionGlobal(pPhone, pObj, pID){\t\n"); out.write("\tvar strQuery = '&';\n"); out.write("\n"); out.write("\tif('Actor' == pObj) {\n"); out.write("\t\tif(pID == '"); out.print(strActID); out.write("') {\n"); out.write("\t\t\tstrQuery += 'initIntActID=' + pID;\n"); out.write("\t\t} else {\n"); out.write("\t\t\tstrQuery += 'initIntActID="); out.print(strActID); out.write(";' + pID;\n"); out.write("\t\t}\n"); out.write("\t} else if('Person' == pObj) {\n"); out.write("\t\tstrQuery += 'initIntPersonID=' + pID;\n"); out.write("\t} else if('Enterprise' == pObj) {\n"); out.write("\t\tstrQuery += 'initIntEntID=' + pID;\n"); out.write("\t} else if('Journalist' == pObj) {\n"); out.write("\t\tstrQuery += 'initIntJouID=' + pID;\n"); out.write("\t} else if('Support' == pObj) {\n"); out.write("\t\tstrQuery += 'initIntSupID=' + pID;\n"); out.write("\t} else if('Location' == pObj) {\n"); out.write("\t\tstrQuery += 'initIntLocID=' + pID;\n"); out.write("\t} else {\n"); out.write("\t\treturn;\n"); out.write("\t}\n"); out.write("\n"); out.write("\tvar dt = new Date();\n"); out.write("\n"); out.write("\tstrQuery += '&initIntDate=' + flEscape((dt.getDate() < 10 ? '0' + dt.getDate() : dt.getDate()) + '/' + ((dt.getMonth() + 1) < 10 ? '0' + (dt.getMonth() + 1) : (dt.getMonth() + 1)) + '/' + dt.getFullYear());\n"); out.write("\tstrQuery += '&initIntTimeBeg=' + flEscape((dt.getHours() < 10 ? '0' + dt.getHours() : dt.getHours()) + ':' + (dt.getMinutes() < 10 ? '0' + dt.getMinutes() : dt.getMinutes()));\n"); out.write("\tstrQuery += '&initIntTimeEnd=';\n"); out.write("\tstrQuery += '&initIntStiID="); out.print(dico.getRefIdByCode("IntStiID", "DONE")); out.write("';\n"); out.write("\tstrQuery += '&initIntAtvCode=OUTPHONE';\n"); out.write("\n"); out.write("\twindow.open('"); if (_jspx_meth_fl_005fwebapp_005f10(_jspx_page_context)) return; out.write("/create_realize_interaction.fl?phone=' + flEscape(pPhone) + strQuery + '&done=1', 'InteractionFrom', 'menubar=yes,status=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=1024,height=768');\n"); out.write("}\n"); out.write("\n"); out.write("function doCall(arg0, arg1, arg2) {\n"); out.write("\tvar urlRandomizer = (new Date()).getTime();\n"); out.write("\tdoAjax('"); if (_jspx_meth_fl_005fwebapp_005f11(_jspx_page_context)) return; out.write("/doCallCTI_ajax.fl?rand=' + urlRandomizer + '&arg0=' + flEscape(arg0) + '&arg1=' + flEscape(arg1) + '&arg2=' + flEscape(arg2));\n"); out.write("}\n"); out.write("\n"); out.write("function doTransfer(arg0, arg1) {\n"); out.write("\tvar urlRandomizer = (new Date()).getTime();\n"); out.write("\tdoAjax('"); if (_jspx_meth_fl_005fwebapp_005f12(_jspx_page_context)) return; out.write("/doTransferCTI_ajax.fl?rand=' + urlRandomizer + '&arg0=' + flEscape(arg0) + '&arg1=' + flEscape(arg1));\n"); out.write("}\n"); out.write("\n"); out.write("// displaySimpleMessage\n"); out.write("// displays a simple text message in a nicely formatted pop-up window\n"); out.write("// parameters:\n"); out.write("//\taction: action url\n"); out.write("//\t\tit's up to the action to set the message as request attributes\n"); out.write("//\t\tif action is null then the following parameters are used and passed to the display_simple_message action\n"); out.write("//\tmsgTitle: tab title\n"); out.write("//\tmsg: message content\n"); out.write("//\ttextType (optional): format of the message content and title (html, text or javascript)\n"); out.write("//\t\tremember that the msg or msgTitle can be a message code or the actual hardcoded message \t\n"); out.write("function displaySimpleMessage(action,msgTitle,msg,textType) {\n"); out.write("\tif (action==null) {\n"); out.write("\t\taction=\"display_simple_message.fl?"); out.print(DisplaySimpleMessageAction.REQ_ATTRIB_MSGTITLE); out.write("=\";\n"); out.write("\t\taction+=msgTitle+\"&"); out.print(DisplaySimpleMessageAction.REQ_ATTRIB_MSGCONTENT); out.write("=\";\n"); out.write("\t\taction+=msg+\"&"); out.print(DisplaySimpleMessageAction.REQ_ATTRIB_TEXTTYPE); out.write("=\";\n"); out.write("\t\taction+=(textType==null)?\""); out.print(DisplaySimpleMessageAction.REQ_VALUE_MSGTYPE_JAVASCRIPT); out.write("\":textType;\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\tvar msgWin = window.open(action, 'VerifDisp', 'menubar=no,status=no,toolbar=no,scrollbars=no,resizable=yes,width=600,height=150,screenX=80,screenY=10');\n"); out.write("}\n"); out.write("\n"); out.write("function hideActionPane() {\n"); out.write("\t$('#totalSidebarDiv').toggle('normal', hideActionPane2);\n"); out.write("}\n"); out.write("\n"); out.write("function hideActionPane2() {\n"); out.write("\t$('#object_body').animate({ right: '5px' }, 'normal');\n"); out.write("\t$('#object_actions').css('paddingTop', '0px');\n"); out.write("\t$('#hiddenSidebarDiv').toggle('normal');\n"); out.write("\n"); out.write("\tvar url = '"); if (_jspx_meth_fl_005fwebapp_005f13(_jspx_page_context)) return; out.write("/save_actionbar_css.fl?"); out.print(SaveActionbarCssAction.ACTIONBAR_DEPLOYED_ATTR); out.write("=false';\n"); out.write("\tdoAjax(url);\n"); out.write("}\n"); out.write("\n"); out.write("function showActionPane() {\n"); out.write("\t$('#object_body').animate({ right: findCss('#object_body', 'right', '210px') }, 'normal');\n"); out.write("\t$('#hiddenSidebarDiv').toggle('normal', showActionPane2);\n"); out.write("}\n"); out.write("\n"); out.write("function showActionPane2() {\n"); out.write("\t$('#object_actions').css('paddingTop', findCss('#object_actions', 'paddingTop', '5px'));\n"); out.write("\t$('#totalSidebarDiv').toggle('normal');\n"); out.write("\n"); out.write("\tvar url = '"); if (_jspx_meth_fl_005fwebapp_005f14(_jspx_page_context)) return; out.write("/save_actionbar_css.fl?"); out.print(SaveActionbarCssAction.ACTIONBAR_DEPLOYED_ATTR); out.write("=true';\n"); out.write("\tdoAjax(url);\n"); out.write("}\n"); out.write("// --------------------------------------\n"); out.write("\n"); out.write("// --------------------------------------\n"); out.write("// Confirmation when leaving an edit page\n"); out.write("var startValues = new Array();\n"); out.write("var usedInputs = new Array();\n"); out.write("var doExitConf = true;\n"); out.write("var goodbyeMsg = 'Vous avez fait des modifications sur cette fiche, qui seront perdues si vous continuez';\n"); out.write("\n"); out.write("function setUpConfLabelCallback(arrIndex) {\n"); out.write("\tif (eDealXmlhttpArr[arrIndex].readyState == 4) {\n"); out.write("\t\thideWaiting();\n"); out.write("\t\ttry {\n"); out.write("\t\t\tgoodbyeMsg = eDealXmlhttpArr[arrIndex].responseText;\n"); out.write("\t\t} catch (error) {\n"); out.write("\t\t}\n"); out.write("\t}\n"); out.write("}\n"); out.write("\n"); out.write("function setUpConfDialog() {\n"); out.write("\t$(':input').each(function() {\n"); out.write("\t\tvar name = this.name;\n"); out.write("\n"); out.write("\t\tif (!name || name == '') {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (name.indexOf('$') >= 0) {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (name.indexOf('lbl') >= 0) {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (name.indexOf('#') >= 0) {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (!this.id || this.id == '') {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (this.type == 'radio' || this.type == 'checkbox') {\n"); out.write("\t\t\tif (startValues[name]) {\n"); out.write("\t\t\t\treturn;\n"); out.write("\t\t\t}\n"); out.write("\t\t\t\n"); out.write("\t\t\tvar mvaVar = document.forms[0][name];\n"); out.write("\t\t\tif (mvaVar.length && mvaVar.length > 0) {\n"); out.write("\t\t\t\tvar mvaValue = '';\n"); out.write("\t\t\t\tfor (var cnt = 0; cnt < mvaVar.length; cnt++) {\n"); out.write("\t\t\t\t\tif (cnt > 0) {\n"); out.write("\t\t\t\t\t\tmvaValue += '|';\n"); out.write("\t\t\t\t\t}\n"); out.write("\t\t\t\t\tmvaValue += mvaVar[cnt].checked;\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\tusedInputs[usedInputs.length] = name;\n"); out.write("\t\t\t\tstartValues[name] = mvaValue;\n"); out.write("\t\t\t} else {\n"); out.write("\t\t\t\tusedInputs[usedInputs.length] = name;\n"); out.write("\t\t\t\tstartValues[name] = mvaVar.checked;\n"); out.write("\t\t\t}\n"); out.write("\t\t} else {\n"); out.write("\t\t\tvar valueVar = this.value;\n"); out.write("\t\t\tif (!valueVar) {\n"); out.write("\t\t\t\tvalueVar = '';\n"); out.write("\t\t\t}\n"); out.write("\t\t\t\n"); out.write("\t\t\tusedInputs[usedInputs.length] = name;\n"); out.write("\t\t\tstartValues[name] = valueVar;\n"); out.write("\t\t}\n"); out.write("\t});\n"); out.write("}\n"); out.write("\n"); out.write("function testForExitChanges() {\n"); out.write("\t$(':input').each(function() {\n"); out.write("\t\tvar name = this.name;\n"); out.write("\t\tif (doExitConf) {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (!name || name == '') {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (name.indexOf('$') >= 0) {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (name.indexOf('lbl') >= 0) {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (name.indexOf('#') >= 0) {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (!this.id || this.id == '') {\n"); out.write("\t\t\treturn;\n"); out.write("\t\t}\n"); out.write("\t\t\n"); out.write("\t\tif (this.type == 'radio' || this.type == 'checkbox') {\n"); out.write("\t\t\tif (startValues[name] == null) {\n"); out.write("\t\t\t\treturn;\n"); out.write("\t\t\t}\n"); out.write("\t\t\t\n"); out.write("\t\t\tvar mvaVar = document.forms[0][name];\n"); out.write("\t\t\tif (mvaVar.length && mvaVar.length > 0) {\n"); out.write("\t\t\t\tvar mvaValue = '';\n"); out.write("\t\t\t\tfor (var cnt = 0; cnt < mvaVar.length; cnt++) {\n"); out.write("\t\t\t\t\tif (cnt > 0) {\n"); out.write("\t\t\t\t\t\tmvaValue += '|';\n"); out.write("\t\t\t\t\t}\n"); out.write("\t\t\t\t\tmvaValue += mvaVar[cnt].checked;\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\tif (startValues[name] != mvaValue) {\n"); out.write("\t\t\t\t\tdoExitConf = true;\n"); out.write("\t\t\t\t} else {\n"); out.write("\t\t\t\t\tstartValues[name] = null;\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t} else {\n"); out.write("\t\t\t\tvar mvaValue = mvaVar.checked\n"); out.write("\t\t\t\tif (startValues[name] != mvaValue) {\n"); out.write("\t\t\t\t\tdoExitConf = true;\n"); out.write("\t\t\t\t} else {\n"); out.write("\t\t\t\t\tstartValues[name] = null;\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t}\n"); out.write("\t\t} else {\n"); out.write("\t\t\tvar valueVar = this.value;\n"); out.write("\t\t\tif (!valueVar) {\n"); out.write("\t\t\t\tvalueVar = '';\n"); out.write("\t\t\t}\n"); out.write("\t\t\t\n"); out.write("\t\t\tif (startValues[name] != valueVar) {\n"); out.write("\t\t\t\tdoExitConf = true;\n"); out.write("\t\t\t}\n"); out.write("\t\t}\n"); out.write("\t});\n"); out.write("}\n"); out.write("\n"); out.write("// Temporarily commented out until we can get IE to work with this method\n"); out.write("function goodbye(e) {\n"); out.write("\tdoExitConf = false;\n"); out.write("\tif (!doExitConf) {\n"); out.write("\t\treturn;\n"); out.write("\t}\t\n"); out.write("}\n"); out.write("// ------------------------------\n"); out.write("\n"); out.write("/* Finds the value of the css element 'element', as found in the css rule 'theClass' */\n"); out.write("function findCss(theClass, element, defValue) {\n"); out.write("\tvar cssRules;\n"); out.write("\tif (document.all) {\n"); out.write("\t\tcssRules = 'rules';\n"); out.write("\t} else if (document.getElementById) {\n"); out.write("\t\tcssRules = 'cssRules';\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\tvar added = false;\n"); out.write("\tfor (var S = 0; S < document.styleSheets.length; S++){\n"); out.write("\t\tfor (var R = 0; R < document.styleSheets[S][cssRules].length; R++) {\n"); out.write("\t\t\tif (document.styleSheets[S][cssRules][R].selectorText == theClass) {\n"); out.write("\t\t\t\tif(document.styleSheets[S][cssRules][R].style[element]){\n"); out.write("\t\t\t\t\treturn document.styleSheets[S][cssRules][R].style[element];\n"); out.write("\t\t\t\t}\n"); out.write("\t\t\t}\n"); out.write("\t\t}\n"); out.write("\t}\n"); out.write("\t\n"); out.write("\t// Nothing found, return the default\n"); out.write("\treturn defValue;\n"); out.write("}\n"); out.write("\n"); out.write("// Excpect an status object equivalent to public class AjaxReturnStatus {\n"); out.write("//\t\tpublic String status;\n"); out.write("//\t\tpublic String message;\n"); out.write("//\t\tpublic String errormsg;\n"); out.write("//\t}\n"); out.write("var globalBackgoundStatusDisplayFunction = function(jsonBgStatus, htmlElementIDForResponse) {\n"); out.write("\tvar limitString = 64;\n"); out.write("\tif (jsonBgStatus.status == \""); out.print(BackgroundAjaxAction.AjaxExecutionStatus.OK.toString()); out.write("\") {\n"); out.write("\t\tif (htmlElementIDForResponse == null) {\n"); out.write("\t\t\talert(jsonBgStatus.message);\n"); out.write("\t\t} else {\n"); out.write("\t\t\tvar messageFromJson = jsonBgStatus.message;\n"); out.write("\t\t\tvar messageToDiplay = messageFromJson;\n"); out.write("\t\t\tif (messageFromJson.length > limitString){\n"); out.write("\t\t\t\tmessageToDiplay = messageFromJson.substring(0, limitString);\n"); out.write("\t\t\t} \n"); out.write("\t\t\t$(\"#\"+htmlElementIDForResponse).html(''+messageToDiplay+'');\n"); out.write("\t\t\t$(\"#\"+htmlElementIDForResponse).show('slow').delay(2000).hide('slow');//,function() { $(\"#\"+htmlElementIDForResponse).hide('slow'); });\n"); out.write("\t\t\t//$('#foo').slideUp(300).delay(800).fadeIn(400);\n"); out.write("\t\t}\n"); out.write("\t} else {\n"); out.write("\t\tif (htmlElementIDForResponse == null) {\n"); out.write("\t\t\talert(jsonBgStatus.message+\"\\n\"+jsonBgStatus.errormsg);\n"); out.write("\t\t} else {\n"); out.write("\t\t\tvar messagesFromJson = jsonBgStatus.message + ' ' + jsonBgStatus.errormsg;\n"); out.write("\t\t\tvar messageToDiplay = messagesFromJson;\n"); out.write("\t\t\tif (messagesFromJson.length > limitString - 7){\n"); out.write("\t\t\t\tmessageToDiplay = messagesFromJson.substring(0, limitString - 7);\n"); out.write("\t\t\t} \n"); out.write("\t\t\t$(\"#\"+htmlElementIDForResponse).html('ERROR :'+messageToDiplay+'');\n"); out.write("\t\t\t$(\"#\"+htmlElementIDForResponse).show('slow');\n"); out.write("\t\t}\t\n"); out.write("\t}\t\n"); out.write("}\n"); out.write("\n"); out.write("// called by the tag\n"); out.write("function doCallBackgroundAjaxAction(fieldName,ajaxUrl,fGetValueDynamically,bgCallBackFn) {\n"); out.write("\tif (fGetValueDynamically) {\n"); out.write("\t\tvar value=$(\"#\"+fieldName).val();\n"); out.write("\t\tif (value!=null && value!=\"\") {\n"); out.write("\t\t\tajaxUrl=ajaxUrl+encodeURIComponent(value);\n"); out.write("\t\t}\n"); out.write("\t}\n"); out.write("\t//alert(fieldName+\" = \"+ajaxUrl+\" = \"+bgCallBackFn);\n"); out.write("\tdoBackgroundAjax(ajaxUrl,bgCallBackFn,\"bgstatus\"+fieldName)\n"); out.write("}\n"); out.write("\n"); out.write("function doMail(objSql, destID, email) {\n"); out.write("\twindow.open('"); if (_jspx_meth_fl_005fwebapp_005f15(_jspx_page_context)) return; out.write("/mail_messages.fl?ObjSql=' + objSql + '&destID=' + destID + '&email=' + email, 'EMAIL', 'menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes,width=700,height=270');\n"); out.write("}\n"); out.write("\n"); out.write("\n"); out.write("function openPopupLayer(fields, objectType, urlAction) {\t\n"); out.write("\tvar jsonData = JSON.stringify(fields);\n"); out.write("\t$.openPopupLayer({\n"); out.write("\t\tname: \"PopupLayer\",\n"); out.write("\t\twidth: \"auto\",\n"); out.write("\t\theight: \"auto\",\n"); out.write("\t\tparameters: {data : jsonData, objectType : objectType}, \n"); out.write("\t\turl: urlAction\t\t\n"); out.write("\t});\t\n"); out.write("}\t\n"); out.write("\n"); out.write("function openPopupLayerWaiting(jsonData, urlAjax, successMessage, waitingPopupStatusFunction) {\n"); out.write("\tdoClosePopUp(\"PopupLayer\");\n"); out.write("\t$.openPopupLayer({\n"); out.write("\t\tname: \"WaitingPopup\",\n"); out.write("\t\twidth: \"auto\",\n"); out.write("\t\theight: \"auto\",\n"); out.write("\t\turl: \""); if (_jspx_meth_fl_005fwebapp_005f16(_jspx_page_context)) return; out.write("/waiting_operation_popup.fl\",\n"); out.write("\t\tsuccess : function() {\n"); out.write("\t\t\t$.ajax({\n"); out.write("\t\t\t\t data: jsonData,\n"); out.write("\t\t\t\t type: \"POST\",\n"); out.write("\t\t\t\t url: urlAjax,\n"); out.write("\t\t\t\t timeout: 0,//no timeout\n"); out.write("\t\t\t\t contentType: \"application/json;charset=utf-8\",\n"); out.write("\t\t\t\t dataType: 'json',\n"); out.write("\t\t\t\t success: analyseResponse,\n"); out.write("\t\t\t\t error: function(jqXHR, textStatus, errorThrown) {\n"); out.write("\t\t\t\t \t\tif (console && console.log) {\n"); out.write("\t\t\t\t\t\t\tconsole.log(\"error :\");\n"); out.write("\t\t\t\t\t\t\tconsole.log(\"jqXHR :\");\n"); out.write("\t\t\t\t\t\t\tconsole.log(jqXHR);\n"); out.write("\t\t\t\t\t\t\tconsole.log(\"textStatus :\");\n"); out.write("\t\t\t\t\t\t\tconsole.log(textStatus);\n"); out.write("\t\t\t\t\t\t\tconsole.log(\"errorThrown :\");\n"); out.write("\t\t\t\t\t\t\tconsole.log(errorThrown);\n"); out.write("\t\t\t\t\t\t}\n"); out.write("\t\t\t\t\t}\n"); out.write("\t\t\t\t});\n"); out.write("\t\t\t}\n"); out.write("\t});\t\t\n"); out.write("\tfunction analyseResponse(data) {\n"); out.write("\t\tif (typeof(waitingPopupStatusFunction) != 'function') {\t\t\n"); out.write("\t\t\twaitingPopupStatus(data, successMessage);\n"); out.write("\t\t} else {\n"); out.write("\t\t\twaitingPopupStatusFunction(data, successMessage);\n"); out.write("\t\t}\n"); out.write("\t}\n"); out.write("}\n"); out.write("\n"); out.write("function waitingPopupStatus(data, detail) {\n"); out.write("\tif (data != null) {\n"); out.write("\t\tif (data.status == \""); out.print( ListMenuMassSelectLayerAction.RETURN_SUCCESS ); out.write("\") {\n"); out.write("\t\t\t$(\"#waiting_popup\").attr(\"src\", \""); if (_jspx_meth_fl_005fwebapp_005f17(_jspx_page_context)) return; out.write("/js/progressbar/images/success.png\");\n"); out.write("\t\t\t$(\"#detail_popup\").html(detail + ' ' + decodeURIComponent(data.detail));\n"); out.write("\t\t} else if (data.status == \""); out.print( ListMenuMassSelectLayerAction.RETURN_FAILURE ); out.write("\") {\n"); out.write("\t\t\t$(\"#waiting_popup\").attr(\"src\", \""); if (_jspx_meth_fl_005fwebapp_005f18(_jspx_page_context)) return; out.write("/js/progressbar/images/failure.png\");\n"); out.write("\t\t\t$(\"#detail_popup\").html(decodeURIComponent(data.detail));\n"); out.write("\t\t\t$(\"#error_popup\").html(decodeURIComponent(data.error));\n"); out.write("\t\t} else {\n"); out.write("\t\t\t$(\"#waiting_popup\").attr(\"src\", \""); if (_jspx_meth_fl_005fwebapp_005f19(_jspx_page_context)) return; out.write("/js/progressbar/images/failure.png\");\n"); out.write("\t\t}\n"); out.write("\t\texecuteSearch();\n"); out.write("\t}\n"); out.write("}\n"); out.write("\n"); out.write("function doClosePopUp(popName){\n"); out.write("\t$.closePopupLayer(popName);\n"); out.write("}\t\n"); out.write("\n"); out.write("function sendMailWithDocuments(idObj, typeObj, email, emailField) {\n"); out.write("\tif (typeObj == null || idObj == null) return;\n"); out.write("\turlToRedirect = '"); // fl:link com.edeal.frontline.navigation.UrlTag _jspx_th_fl_005flink_005f3 = (com.edeal.frontline.navigation.UrlTag) _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.get(com.edeal.frontline.navigation.UrlTag.class); _jspx_th_fl_005flink_005f3.setPageContext(_jspx_page_context); _jspx_th_fl_005flink_005f3.setParent(null); // /js/global_js.jsp(810,18) name = url type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005flink_005f3.setUrl( "/load_send_mail.fl" ); int _jspx_eval_fl_005flink_005f3 = _jspx_th_fl_005flink_005f3.doStartTag(); if (_jspx_th_fl_005flink_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f3); return; } _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f3); out.write("';\n"); out.write("\tif(urlToRedirect.search(\"\\\\?\")>0){\n"); out.write("\t\turlToRedirect += 'id=';\n"); out.write("\t} else {\n"); out.write("\t\turlToRedirect += '?id=';\n"); out.write("\t}\n"); out.write("\turlToRedirect += idObj + '&type=' + typeObj;\n"); out.write("\tif (email != null) {\n"); out.write("\t\turlToRedirect += '&email=' + email;\n"); out.write("\t} \n"); out.write("\tif (emailField != null) {\n"); out.write("\t\turlToRedirect += '&emailfield=' + emailField;\n"); out.write("\t}\n"); out.write("\twindow.parent.location = urlToRedirect;\n"); out.write("}\n"); out.write("\n"); out.write("function sendMailCmdGiftCheque_WithDocuments(idObj, typeObj, email, emailField) {\n"); out.write("\tif (typeObj == null || idObj == null) return;\n"); out.write("\turlToRedirect = '"); // fl:link com.edeal.frontline.navigation.UrlTag _jspx_th_fl_005flink_005f4 = (com.edeal.frontline.navigation.UrlTag) _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.get(com.edeal.frontline.navigation.UrlTag.class); _jspx_th_fl_005flink_005f4.setPageContext(_jspx_page_context); _jspx_th_fl_005flink_005f4.setParent(null); // /js/global_js.jsp(828,18) name = url type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005flink_005f4.setUrl( "/load_send_mail_cmdgiftcheque_.fl" ); int _jspx_eval_fl_005flink_005f4 = _jspx_th_fl_005flink_005f4.doStartTag(); if (_jspx_th_fl_005flink_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f4); return; } _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f4); out.write("';\n"); out.write("\tif(urlToRedirect.search(\"\\\\?\")>0){\n"); out.write("\t\turlToRedirect += 'id=';\n"); out.write("\t} else {\n"); out.write("\t\turlToRedirect += '?id=';\n"); out.write("\t}\n"); out.write("\turlToRedirect += idObj + '&type=' + typeObj;\n"); out.write("\tif (email != null) {\n"); out.write("\t\turlToRedirect += '&email=' + email;\n"); out.write("\t} \n"); out.write("\tif (emailField != null) {\n"); out.write("\t\turlToRedirect += '&emailfield=' + emailField;\n"); out.write("\t}\n"); out.write("\twindow.parent.location = urlToRedirect;\n"); out.write("}\n"); out.write("\n"); out.write("function sendMailPaymentSlip_WithDocuments(idObj, typeObj, email, emailField) {\n"); out.write("\tif (typeObj == null || idObj == null) return;\n"); out.write("\turlToRedirect = '"); // fl:link com.edeal.frontline.navigation.UrlTag _jspx_th_fl_005flink_005f5 = (com.edeal.frontline.navigation.UrlTag) _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.get(com.edeal.frontline.navigation.UrlTag.class); _jspx_th_fl_005flink_005f5.setPageContext(_jspx_page_context); _jspx_th_fl_005flink_005f5.setParent(null); // /js/global_js.jsp(846,18) name = url type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005flink_005f5.setUrl( "/load_send_mail_paymentslip_.fl" ); int _jspx_eval_fl_005flink_005f5 = _jspx_th_fl_005flink_005f5.doStartTag(); if (_jspx_th_fl_005flink_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f5); return; } _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f5); out.write("';\n"); out.write("\tif(urlToRedirect.search(\"\\\\?\")>0){\n"); out.write("\t\turlToRedirect += 'id=';\n"); out.write("\t} else {\n"); out.write("\t\turlToRedirect += '?id=';\n"); out.write("\t}\n"); out.write("\turlToRedirect += idObj + '&type=' + typeObj;\n"); out.write("\tif (email != null) {\n"); out.write("\t\turlToRedirect += '&email=' + email;\n"); out.write("\t} \n"); out.write("\tif (emailField != null) {\n"); out.write("\t\turlToRedirect += '&emailfield=' + emailField;\n"); out.write("\t}\n"); out.write("\twindow.parent.location = urlToRedirect;\n"); out.write("}\n"); out.write("\n"); out.write("function sendMailOpportunityWithDocuments(idObj, typeObj, vers, email, emailField, clientCase) {\n"); out.write("\tif (typeObj == null || idObj == null) return;\n"); out.write("\turlToRedirect = '"); // fl:link com.edeal.frontline.navigation.UrlTag _jspx_th_fl_005flink_005f6 = (com.edeal.frontline.navigation.UrlTag) _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.get(com.edeal.frontline.navigation.UrlTag.class); _jspx_th_fl_005flink_005f6.setPageContext(_jspx_page_context); _jspx_th_fl_005flink_005f6.setParent(null); // /js/global_js.jsp(864,18) name = url type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005flink_005f6.setUrl( "/load_send_mail_opportunity.fl" ); int _jspx_eval_fl_005flink_005f6 = _jspx_th_fl_005flink_005f6.doStartTag(); if (_jspx_th_fl_005flink_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f6); return; } _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f6); out.write("';\n"); out.write("\tif(urlToRedirect.search(\"\\\\?\")>0){\n"); out.write("\t\turlToRedirect += 'id=';\n"); out.write("\t} else {\n"); out.write("\t\turlToRedirect += '?id=';\n"); out.write("\t}\n"); out.write("\turlToRedirect += idObj + '&type=' + typeObj;\n"); out.write("\tif (email != null) {\n"); out.write("\t\turlToRedirect += '&emailEnt=' + email;\n"); out.write("\t}\n"); out.write("\tif (vers != null) {\n"); out.write("\t\turlToRedirect += '&typOppDoc=' + vers;\n"); out.write("\t}\n"); out.write("\tif (emailField != null) {\n"); out.write("\t\turlToRedirect += '&emailPer=' + emailField;\n"); out.write("\t}\n"); out.write("\tif (clientCase != null) {\n"); out.write("\t\turlToRedirect += '&clientCase=' + clientCase;\n"); out.write("\t}\n"); out.write("\twindow.parent.location = urlToRedirect;\n"); out.write("}\n"); out.write("\n"); out.write("/*\n"); out.write(" * Allowing to recover message for specified label,\n"); out.write(" * by synchronous Ajax calling. Asis parameter\n"); out.write(" * can be true or false in order to return the\n"); out.write(" * message \"as is\".\n"); out.write(" */\n"); out.write("function getMessage(labelCode, labelAlt, asis) {\n"); out.write(" return doSynchronAjax(\"retrieveLabelAjax.fl?code=\"+labelCode+\"&alt=\"+encodeURIComponent(labelAlt)+\"&asis=\"+asis);\n"); out.write("}\n"); out.write("\n"); out.write("function popupCenter(url, name, width, height, xtr) {\n"); out.write(" var top = (screen.height - height)/2;\n"); out.write(" var left = (screen.width - width)/2;\n"); out.write(" window.open(url, name, xtr + \", top=\" + top + \",left=\" + left + \", width=\" + width + \", height=\" + height);\n"); out.write("} \n"); out.write("\n"); out.write("function displayWarning(warnMsg) {\n"); out.write("\tif (!edManager.edViews) {\n"); out.write("\t\tsetTimeout(function() {displayWarning(warnMsg)}, 1000);\n"); out.write("\t} else {\n"); out.write("\t\tUtils.openDialog(\"Warning\", warnMsg, {modal:true});\n"); out.write("\t}\n"); out.write("}\n"); out.write("\n"); out.write("function otherProcess(type, id) {\n"); out.write("\twindow.parent.location = '"); if (_jspx_meth_fl_005fwebapp_005f20(_jspx_page_context)) return; out.write("/list_process_to_run.fl?objectType=' + type + '&objectID=' + id;\n"); out.write("}\n"); out.write("\n"); out.write("function openPopupLayerProcess(mapParams) { \n"); out.write("\t showWaiting() \n"); out.write(" $.openPopupLayer({\n"); out.write(" name: \"PopupLayer\",\n"); out.write(" width: \"auto\",\n"); out.write(" height: \"auto\",\n"); out.write(" parameters: mapParams, \n"); out.write(" url: \""); if (_jspx_meth_fl_005fwebapp_005f21(_jspx_page_context)) return; out.write("/popup_process_run.fl\",\n"); out.write(" success: function() {\n"); out.write(" hideWaiting();\n"); out.write(" \t } \n"); out.write(" }); \n"); out.write("}\n"); out.write("\n"); out.write("\n"); out.write("/*\n"); out.write("* viewResponse and previewScriptResponse function are called when we use the dynamic function \"getEventParStatus\" in a XML list\n"); out.write("*/\n"); out.write("function viewResponse(id){\n"); out.write("\twindow.open('"); if (_jspx_meth_fl_005fwebapp_005f22(_jspx_page_context)) return; out.write("/read_formresponse.fl?id='+id, 'ViewFormResponse' , 'menubar=no,status=no,toolbar=no,scrollbars=no,resizable=yes,width=810,height=500');\n"); out.write("}\n"); out.write("function previewScriptResponse(id, hasNotes, perID){\n"); out.write("\twindow.open('"); if (_jspx_meth_fl_005fwebapp_005f23(_jspx_page_context)) return; out.write("/read_scriptresponse.fl?scriptID='+id+'&preview=0&lsePosition=0&hasNotes='+hasNotes+'&perID='+perID, 'PreviewFormResponse' , 'menubar=no,status=no,toolbar=no,scrollbars=no,resizable=yes,width=800,height=500');\n"); out.write("}\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("function updateTimestampInput (dateOrTimeInput, fieldName, errorMessage) {\n"); out.write("\tdateOrTimeInput = $(dateOrTimeInput);\n"); out.write("\t\n"); out.write("\tvar isDate = dateOrTimeInput.hasClass(\"date\");\n"); out.write("\tvar success = false;\n"); out.write("\tif (isDate) {\n"); out.write("\t\tsuccess = ctrlDateField(dateOrTimeInput.get(0),errorMessage);\n"); out.write("\t} else {\n"); out.write("\t\tsuccess = ctrlHourField(dateOrTimeInput.get(0),errorMessage);\n"); out.write("\t}\n"); out.write("\tif (success) {\n"); out.write("\t\tvar hiddenDateTimeInput = dateOrTimeInput.parent().find(\"input[name='\"+fieldName+\"']\");\n"); out.write("\t\tvar datetInput = dateOrTimeInput.parent().find(\"input[name='Date$\"+fieldName+\"']\");\n"); out.write("\t\tvar timeInput = dateOrTimeInput.parent().find(\"input[name='Time$\"+fieldName+\"']\");\n"); out.write("\t\thiddenDateTimeInput.val(datetInput.val()+\" \"+timeInput.val());\n"); out.write("\t}\t\n"); out.write("}"); } 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_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_005fwebapp_005f2(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_005f2 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f2.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f2.setParent(null); int _jspx_eval_fl_005fwebapp_005f2 = _jspx_th_fl_005fwebapp_005f2.doStartTag(); if (_jspx_th_fl_005fwebapp_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f2); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f2); return false; } private boolean _jspx_meth_fl_005fwebapp_005f3(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_005f3 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f3.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f3.setParent(null); int _jspx_eval_fl_005fwebapp_005f3 = _jspx_th_fl_005fwebapp_005f3.doStartTag(); if (_jspx_th_fl_005fwebapp_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f3); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f3); return false; } private boolean _jspx_meth_fl_005flink_005f0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:link com.edeal.frontline.navigation.UrlTag _jspx_th_fl_005flink_005f0 = (com.edeal.frontline.navigation.UrlTag) _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.get(com.edeal.frontline.navigation.UrlTag.class); _jspx_th_fl_005flink_005f0.setPageContext(_jspx_page_context); _jspx_th_fl_005flink_005f0.setParent(null); // /js/global_js.jsp(246,9) name = url type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005flink_005f0.setUrl("/check_alarm.fl"); int _jspx_eval_fl_005flink_005f0 = _jspx_th_fl_005flink_005f0.doStartTag(); if (_jspx_th_fl_005flink_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f0); return true; } _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f0); return false; } private boolean _jspx_meth_fl_005flink_005f1(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:link com.edeal.frontline.navigation.UrlTag _jspx_th_fl_005flink_005f1 = (com.edeal.frontline.navigation.UrlTag) _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.get(com.edeal.frontline.navigation.UrlTag.class); _jspx_th_fl_005flink_005f1.setPageContext(_jspx_page_context); _jspx_th_fl_005flink_005f1.setParent(null); // /js/global_js.jsp(252,11) name = url type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005flink_005f1.setUrl("/save_notepad.fl?dummy"); int _jspx_eval_fl_005flink_005f1 = _jspx_th_fl_005flink_005f1.doStartTag(); if (_jspx_th_fl_005flink_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f1); return true; } _005fjspx_005ftagPool_005ffl_005flink_0026_005furl_005fnobody.reuse(_jspx_th_fl_005flink_005f1); return false; } private boolean _jspx_meth_fl_005fwebapp_005f4(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_005f4 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f4.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f4.setParent(null); int _jspx_eval_fl_005fwebapp_005f4 = _jspx_th_fl_005fwebapp_005f4.doStartTag(); if (_jspx_th_fl_005fwebapp_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f4); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f4); return false; } private boolean _jspx_meth_fl_005fwebapp_005f5(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_005f5 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f5.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f5.setParent(null); int _jspx_eval_fl_005fwebapp_005f5 = _jspx_th_fl_005fwebapp_005f5.doStartTag(); if (_jspx_th_fl_005fwebapp_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f5); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f5); return false; } private boolean _jspx_meth_fl_005fwebapp_005f6(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_005f6 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f6.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f6.setParent(null); int _jspx_eval_fl_005fwebapp_005f6 = _jspx_th_fl_005fwebapp_005f6.doStartTag(); if (_jspx_th_fl_005fwebapp_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f6); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f6); return false; } private boolean _jspx_meth_fl_005fwebapp_005f7(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_005f7 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f7.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f7.setParent(null); int _jspx_eval_fl_005fwebapp_005f7 = _jspx_th_fl_005fwebapp_005f7.doStartTag(); if (_jspx_th_fl_005fwebapp_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f7); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f7); return false; } private boolean _jspx_meth_fl_005fwebapp_005f8(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_005f8 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f8.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f8.setParent(null); int _jspx_eval_fl_005fwebapp_005f8 = _jspx_th_fl_005fwebapp_005f8.doStartTag(); if (_jspx_th_fl_005fwebapp_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f8); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f8); return false; } private boolean _jspx_meth_fl_005fwebapp_005f9(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_005f9 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f9.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f9.setParent(null); int _jspx_eval_fl_005fwebapp_005f9 = _jspx_th_fl_005fwebapp_005f9.doStartTag(); if (_jspx_th_fl_005fwebapp_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f9); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f9); return false; } private boolean _jspx_meth_fl_005fwebapp_005f10(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_005f10 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f10.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f10.setParent(null); int _jspx_eval_fl_005fwebapp_005f10 = _jspx_th_fl_005fwebapp_005f10.doStartTag(); if (_jspx_th_fl_005fwebapp_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f10); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f10); return false; } private boolean _jspx_meth_fl_005fwebapp_005f11(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_005f11 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f11.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f11.setParent(null); int _jspx_eval_fl_005fwebapp_005f11 = _jspx_th_fl_005fwebapp_005f11.doStartTag(); if (_jspx_th_fl_005fwebapp_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f11); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f11); return false; } private boolean _jspx_meth_fl_005fwebapp_005f12(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_005f12 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f12.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f12.setParent(null); int _jspx_eval_fl_005fwebapp_005f12 = _jspx_th_fl_005fwebapp_005f12.doStartTag(); if (_jspx_th_fl_005fwebapp_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f12); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f12); return false; } private boolean _jspx_meth_fl_005fwebapp_005f13(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_005f13 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f13.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f13.setParent(null); int _jspx_eval_fl_005fwebapp_005f13 = _jspx_th_fl_005fwebapp_005f13.doStartTag(); if (_jspx_th_fl_005fwebapp_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f13); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f13); return false; } private boolean _jspx_meth_fl_005fwebapp_005f14(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_005f14 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f14.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f14.setParent(null); int _jspx_eval_fl_005fwebapp_005f14 = _jspx_th_fl_005fwebapp_005f14.doStartTag(); if (_jspx_th_fl_005fwebapp_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f14); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f14); return false; } private boolean _jspx_meth_fl_005fwebapp_005f15(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_005f15 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f15.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f15.setParent(null); int _jspx_eval_fl_005fwebapp_005f15 = _jspx_th_fl_005fwebapp_005f15.doStartTag(); if (_jspx_th_fl_005fwebapp_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f15); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f15); return false; } private boolean _jspx_meth_fl_005fwebapp_005f16(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_005f16 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f16.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f16.setParent(null); int _jspx_eval_fl_005fwebapp_005f16 = _jspx_th_fl_005fwebapp_005f16.doStartTag(); if (_jspx_th_fl_005fwebapp_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f16); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f16); return false; } private boolean _jspx_meth_fl_005fwebapp_005f17(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_005f17 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f17.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f17.setParent(null); int _jspx_eval_fl_005fwebapp_005f17 = _jspx_th_fl_005fwebapp_005f17.doStartTag(); if (_jspx_th_fl_005fwebapp_005f17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f17); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f17); return false; } private boolean _jspx_meth_fl_005fwebapp_005f18(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_005f18 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f18.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f18.setParent(null); int _jspx_eval_fl_005fwebapp_005f18 = _jspx_th_fl_005fwebapp_005f18.doStartTag(); if (_jspx_th_fl_005fwebapp_005f18.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f18); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f18); return false; } private boolean _jspx_meth_fl_005fwebapp_005f19(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_005f19 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f19.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f19.setParent(null); int _jspx_eval_fl_005fwebapp_005f19 = _jspx_th_fl_005fwebapp_005f19.doStartTag(); if (_jspx_th_fl_005fwebapp_005f19.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f19); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f19); return false; } private boolean _jspx_meth_fl_005fwebapp_005f20(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_005f20 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f20.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f20.setParent(null); int _jspx_eval_fl_005fwebapp_005f20 = _jspx_th_fl_005fwebapp_005f20.doStartTag(); if (_jspx_th_fl_005fwebapp_005f20.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f20); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f20); return false; } private boolean _jspx_meth_fl_005fwebapp_005f21(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_005f21 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f21.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f21.setParent(null); int _jspx_eval_fl_005fwebapp_005f21 = _jspx_th_fl_005fwebapp_005f21.doStartTag(); if (_jspx_th_fl_005fwebapp_005f21.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f21); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f21); return false; } private boolean _jspx_meth_fl_005fwebapp_005f22(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_005f22 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f22.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f22.setParent(null); int _jspx_eval_fl_005fwebapp_005f22 = _jspx_th_fl_005fwebapp_005f22.doStartTag(); if (_jspx_th_fl_005fwebapp_005f22.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f22); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f22); return false; } private boolean _jspx_meth_fl_005fwebapp_005f23(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_005f23 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f23.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f23.setParent(null); int _jspx_eval_fl_005fwebapp_005f23 = _jspx_th_fl_005fwebapp_005f23.doStartTag(); if (_jspx_th_fl_005fwebapp_005f23.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f23); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f23); return false; } }