Edit C:\galaxie\deploy\Tomcat6\work\Catalina\localhost\galaxie\old\org\apache\jsp\siteweb\webform\webform_005fquestion_jsp.java
package org.apache.jsp.siteweb.webform; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import com.edeal.frontline.*; import java.util.*; import java.text.*; import java.lang.reflect.*; import com.edeal.frontline.navigation.*; import com.edeal.frontline.helper.custom.FormHelper; public final class webform_005fquestion_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 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()); _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(); } 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'); com.edeal.frontline.FormQuestionBean curQuestion = null; synchronized (request) { curQuestion = (com.edeal.frontline.FormQuestionBean) _jspx_page_context.getAttribute("curQuestion", PageContext.REQUEST_SCOPE); if (curQuestion == null){ curQuestion = new com.edeal.frontline.FormQuestionBean(); _jspx_page_context.setAttribute("curQuestion", curQuestion, PageContext.REQUEST_SCOPE); } } out.write('\n'); com.edeal.frontline.QuestionResponseBean curQrs = null; synchronized (request) { curQrs = (com.edeal.frontline.QuestionResponseBean) _jspx_page_context.getAttribute("curQrs", PageContext.REQUEST_SCOPE); if (curQrs == null){ curQrs = new com.edeal.frontline.QuestionResponseBean(); _jspx_page_context.setAttribute("curQrs", curQrs, PageContext.REQUEST_SCOPE); } } out.write('\n'); com.edeal.frontline.EnterpriseBean Enterprise = null; synchronized (request) { Enterprise = (com.edeal.frontline.EnterpriseBean) _jspx_page_context.getAttribute("Enterprise", PageContext.REQUEST_SCOPE); if (Enterprise == null){ Enterprise = new com.edeal.frontline.EnterpriseBean(); _jspx_page_context.setAttribute("Enterprise", Enterprise, PageContext.REQUEST_SCOPE); } } out.write('\n'); final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest=new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico=flRequest.getContext().getDataDictionary(); String EntID = flRequest.getParameter("EntID"); String lfqPos = flRequest.getParameter("lfqPos"); String millesime = flRequest.getParameter("millesime"); String lfqID = flRequest.getParameter("lfqID"); String hiddenlnkID = flRequest.getParameter("hiddenlnk"); String prefix = flRequest.getParameter("prefix"); LinkFormQuestionBean linkFqt = new LinkFormQuestionBean(lfqID,context); LinkFormQuestionBean hiddenlnk = new LinkFormQuestionBean(lfqID,context); String languageID = flRequest.getParameter("languageID");//dico.getRefIdByCode("Lna", "Te1", "fr_FR"); String lngCode = flRequest.getParameter("lngCode");/*dico.getRefCode("EntRefLngID_", languageID);*/ String countryID = flRequest.getParameter("countryID");/*dico.getRefIdByCode("Ctr", "Te1", "FR");*/ FlLocale locale = FlLocale.getInstance(context, languageID, countryID); Vector<String> responses = (Vector<String>)flRequest.getAttribute("responses"); //logger.info("response : "+responses); LinkedHashMap<String,Vector<String>> initialresponses = (LinkedHashMap<String,Vector<String>>)flRequest.getAttribute("initialresponses"); //logger.info("initialresponse : "+initialresponses); boolean isActorLogis = (Boolean) flRequest.getAttribute("isActorLogis"); //logger.info("isActorLogis : "+isActorLogis); Vector<String> initialResponse = (initialresponses.get(lfqID)); QuestionResponseBean initCurQrs = null; if(initialResponse!=null){ initCurQrs = (new QuestionResponseBean(initialResponse.elementAt(0),context)); } String qLabel=null; String qLabelCode = null; try { qLabel = curQuestion.getFqtLabel().replaceAll("::millesime::", millesime).replaceAll("::millesime\\+1::", (Integer.parseInt(millesime)+1)+"").replaceAll("::millesime-1::", (Integer.parseInt(millesime)-1)+""); qLabel = (qLabel == null? "" : qLabel); qLabelCode = (String)curQuestion.getCustomProperty("FqtLabelCode_"); qLabelCode = (qLabelCode == null? "" : qLabelCode); qLabelCode = Utils.getMessage(context, lngCode, qLabelCode, false,true,"<non spÃ?¯Ã?¿Ã?½cifiÃ?¯Ã?¿Ã?½>").replaceAll("::millesime::", millesime).replaceAll("::millesime\\+1::", (Integer.parseInt(millesime)+1)+"").replaceAll("::millesime-1::", (Integer.parseInt(millesime)-1)+""); } catch (Exception e) {} //ce traitement a Ã?©tÃ?© ajoutÃ?© pour Ã?©viter l'ajout d'une nouvel question au questionnaire 2021 vu que la demande est urgente et la personne qui fait la livraison est en congÃ?© if((lfqPos.equals("220") && prefix.equals("R"))){ qLabelCode += " (1)"; } boolean disabled = false; try{ disabled = (Boolean)hiddenlnk.getCustomProperty("LfqHtmlDisabled_"); //logger.info("disabled"+disabled); }catch(Exception e){ //logger.info("disabled"+disabled); } String code = ""; try{ code = (String)hiddenlnk.getCustomProperty("LfqCode_"); }catch(Exception e){} String name = ""; try{ name = (String)hiddenlnk.getCustomProperty("LfqName_"); }catch(Exception e){} String qType = null; try { qType = curQuestion.getFqtType(); } catch (FieldNotInitializedException fnie) { } String typeOfQuestion = ""; try{ typeOfQuestion = FormHelper.getIntervalTypeOfDateOrDouble(context,name,code); }catch(Exception e){ //logger.warn(e.getMessage()); } if("Fermetures_".equals(name) && Utils.explodeList(code, "|").size()>1) typeOfQuestion = "java.util.Date|java.util.Date"; if(typeOfQuestion.length()==0){ String lfqQuestionType_ = null; try{ lfqQuestionType_ = (String)hiddenlnk.getCustomProperty("LfqQuestionType_"); }catch(Exception e){} if(lfqQuestionType_ == null || lfqQuestionType_.length()==0 || lfqQuestionType_.equals(dico.getRefIdByCode("Tq_", "Te1", "TEXT")) ) typeOfQuestion = "java.lang.String"; else{ if(lfqQuestionType_.equals(dico.getRefIdByCode("Tq_", "Te1", "DOUBLE"))) typeOfQuestion = "java.lang.Double"; if(lfqQuestionType_.equals(dico.getRefIdByCode("Tq_", "Te1", "DATE"))) typeOfQuestion = "java.util.Date"; if(lfqQuestionType_.equals(dico.getRefIdByCode("Tq_", "Te1", "INTEGER"))) typeOfQuestion = "java.lang.Integer"; if(qType.equals(dico.getRefIdByCode("FqtType" , "INT"))) typeOfQuestion = typeOfQuestion +"|"+typeOfQuestion; } } String value = ""; try{ value = (String)hiddenlnk.getCustomProperty("LfqValue_"); }catch(Exception e){} String lblID = null; String lblLabel = ""; try { lblID = (String)curQuestion.getCustomProperty("FqtPreTextLabel_"); lblLabel = Utils.getMessage(context,lngCode,lblID,false,true,"").replaceAll("::millesime::", millesime).replaceAll("::millesime\\+1::", (Integer.parseInt(millesime)+1)+"").replaceAll("::millesime-1::", (Integer.parseInt(millesime)-1)+""); } catch (FieldNotInitializedException fnie) { } catch (FrontlineException e) { } String postlblID = null; String postlblLabel = ""; try { postlblID = (String)curQuestion.getCustomProperty("FqtPostTextLabel_"); postlblLabel = Utils.getMessage(context,lngCode,postlblID,false,true,"").replaceAll("::millesime::", millesime).replaceAll("::millesime\\+1::", (Integer.parseInt(millesime)+1)+"").replaceAll("::millesime-1::", (Integer.parseInt(millesime)-1)+""); } catch (FieldNotInitializedException fnie) { } catch (FrontlineException e) { } if((prefix.equals("R") && lfqPos.equals("550")) || (prefix.equals("T") && lfqPos.equals("530")) ){ postlblLabel = Utils.getMessage(context, session, lngCode, "LF242", false, true, ""); } String helpText = ""; try { helpText = curQuestion.getFqtHelpText(); } catch (FieldNotInitializedException fnie) { } out.write('\n'); if(qType != null && qType.equals(dico.getRefIdByCode("FqtType" , "HIDE")) ){ String qrsText = ""; try { qrsText = curQrs.getQrsText(); } catch (Exception e) {} }else{ out.write(" \n"); out.write("<div class=\"webform_questionblock\">\n"); out.write("\t<input type=\"hidden\" name=\""); out.print( prefix ); out.write('_'); out.print( lfqPos ); out.write("_LfqID\" value=\""); out.print( lfqID ); out.write("\">\n"); out.write("\t"); if(qType == null || qType.equals(dico.getRefIdByCode("FqtType" , "ATTFILE"))){ String qrsText = ""; try { qrsText = initCurQrs.getQrsText(); } catch (Exception e) {} String qrsText2 = ""; try{ qrsText2 = (new QuestionResponseBean( (String)initialResponse.elementAt(1),context)) .getQrsText(); } catch (Exception e) {} out.write("\n"); out.write("\t\t<p class=\"p_webform_questionblock pre_post_labels\">"); out.print(lblLabel ); out.write("</p>\n"); out.write("\t\t<p id=\""); out.print( prefix ); out.write("_WebForm_ValQuestion"); out.print( lfqPos ); out.write("\" class=\"webform_answer_photo\">\n"); out.write("\t\t\t<table class=\"table_photo\">\n"); out.write("\t\t\t<tr>\n"); out.write("\t\t\t\t<td class=\"td_photo_photo\">\n"); out.write("\t\t\t\t\t<input type=\"hidden\" name=\""); out.print( prefix ); out.write("_photoAttID\" value=\""); out.print( qrsText ); out.write("\">\n"); out.write("\t\t\t\t\t<input type=\"hidden\" name=\""); out.print( prefix ); out.write("_photoAttID\" value=\""); out.print( qrsText2 ); out.write("\">\n"); out.write("\t\t\t\t\t<div class=\"div1_w70fl\">\n"); out.write("\t\t\t\t\t"); if(qrsText != null && !Utils.isEmpty(qrsText)){ out.write("\n"); out.write("\t\t\t\t\t\t<img class=\"photo\" src=\""); if (_jspx_meth_fl_005fwebapp_005f0(_jspx_page_context)) return; out.write("/download?id="); out.print( qrsText ); out.write("\" />\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t<br/>\n"); out.write("\t\t\t\t\t<br/>\n"); out.write("\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t\t</div>\n"); out.write("\t\t\t\t</td>\n"); out.write("\t\t\t\t<td class=\"td_photo_photo\">\n"); out.write("\t\t\t\t\t<div class=\"div1_w70fl\">\n"); out.write("\t\t\t\t\t"); if(qrsText2 != null && !Utils.isEmpty(qrsText2)){ out.write("\n"); out.write("\t\t\t\t\t\t<img class=\"photo\" src=\""); if (_jspx_meth_fl_005fwebapp_005f1(_jspx_page_context)) return; out.write("/download?id="); out.print( qrsText2 ); out.write("\" />\n"); out.write("\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t\t</div>\n"); out.write("\t\t\t\t</td>\n"); out.write("\t\t\t</tr>\n"); out.write("\t\t<tr>\n"); out.write("\t\t\t<td><span class=\"span_photo\"> "); out.print(Utils.getMessage(context, lngCode, "LF391", false, true, "Je confirme que la photo ci-dessus est libre de droit.")); out.write("\n"); out.write("\t\t\t</span></td>\n"); out.write("\t\t</tr>\n"); out.write("\t</table>\n"); out.write("\t\t\t\n"); out.write("\t\t</p>\n"); out.write("\t\t"); }else if(qType == null || qType.equals(dico.getRefIdByCode("FqtType" , "FRE"))){ //String ETAB = dico.getRefIdByCode("EntTyeID", "ETAB"); /* Hotel-Restaurant */ //String entTyeID = (String) EnterpriseBean.lookup(context, "EntTyeID", EntID); if((curQuestion.getFqtSeqNum() == 106) /*&& entTyeID.equals(ETAB))*/ || curQuestion.getFqtSeqNum() != 106){ int inputSize = 0; try { inputSize = curQuestion.getFqtInputSize(); } catch (FieldNotInitializedException fnie) { } String qrsText = ""; String qrsTextInitial = ""; try { qrsText = curQrs.getQrsText(); qrsTextInitial = initCurQrs.getQrsText(); } catch (Exception e) {} int qrsInstance = 0; try { qrsInstance = curQrs.getQrsInstance(); } catch (FieldNotInitializedException fnie) { } out.write('\n'); out.write(' '); out.write(' '); String initRsp1 = initialResponse != null ? initialResponse.get(0):null; String rep1 = null; try{ rep1=curQrs.getQrsID(); }catch(Exception e){ rep1=null; } if(lfqPos.equals("428") && (rep1==null || rep1.equals(initRsp1)) ) { qrsText = ""; } out.write("\n"); out.write("\t\t<p class=\"pre_post_labels p2_webform_questionblock\">"); out.print(lblLabel ); out.write("</p>\n"); out.write("\t\t<p id=\""); out.print( prefix ); out.write("_WebForm_ValQuestion"); out.print( lfqPos ); out.write("\" class=\"webform_answer\">\n"); out.write("\t\t\t<div class=\"webform_label div1_w25fl\">\t\t\t\t\t\t\t\n"); out.write("\t\t\t\t"); out.print( qLabelCode != null ? qLabelCode : qLabel ); out.write("\n"); out.write("\t\t\t</div>\n"); out.write("\t\t\t\n"); out.write("\t\t\t<div class=\"div1_w50fl\" >\n"); out.write("\t\t\t<input class=\"input1_w100\" class=\"webform_input\" type=\"text\" \n"); out.write("\t\t\tname=\""); out.print( prefix ); out.write('_'); out.print( lfqPos ); out.write("_ResponseTxt\" value=\""); out.print( qrsText ); out.write("\" \n"); out.write("\t\t\t"); if("750".equals(lfqPos)){ //semaine livraison field out.write("\n"); out.write("\t\t\tonchange=\"javascript:checkSemaineLivraison(this);\"\n"); out.write("\t\t\t"); }else if("270".equals(lfqPos)){ //EntSiret field out.write("\n"); out.write("\t\t\tonchange=\"javascript:formatSiret(this);\"\n"); out.write("\t\t\t"); }else if("java.lang.Double".equals(typeOfQuestion)){ out.write("\n"); out.write("\t\t\tstyle=\"width:90%;\" onchange=\"javascript:isItValid('java.lang.Double',this);\"\n"); out.write("\t\t\t"); }else if("java.lang.Integer".equals(typeOfQuestion) && !lfqPos.equals("740")){ out.write("\n"); out.write("\t\t\tonchange=\"javascript:isItValid('java.lang.Integer',this);\"\n"); out.write("\t\t\t"); } out.write("\n"); out.write("\t\t\t "); out.print( (disabled ? "disabled" : "") ); out.write(">\n"); out.write("\t\t\t\n"); out.write("\t\t\t"); if(!disabled && isActorLogis && qrsTextInitial != null && !Utils.isEmpty(qrsTextInitial)){ out.write("\n"); out.write("\t\t\t\t<i class=\"i_text_initial\">"); out.print( qrsTextInitial ); out.write("</i>\n"); out.write("\t\t\t"); } out.write("\n"); out.write("\t\t\t"); if("java.lang.Double".equals(typeOfQuestion)){ if(!"118".equals(lfqPos)){ out.write("\n"); out.write("\t\t\t\t\t<span class=\"span_bold\"> €</span>"); }else{ out.write("<span class=\"span_bold\"> %</span>"); } } out.write("\n"); out.write("\t\t\t</div>\n"); out.write("\t\t</p>\n"); out.write("\t\t<p class=\"pre_post_labels p3_webform_questionblock\"> "); out.print(postlblLabel ); out.write("</p>\n"); out.write("\t\t"); } }else if ( qType.equals(dico.getRefIdByCode("FqtType" , "FRL")) ) { int inputSize = 0; try { inputSize = curQuestion.getFqtInputSize(); } catch (FieldNotInitializedException fnie) { } String qrsText = ""; String qrsTextInitial = ""; try { qrsText = curQrs.getQrsText(); qrsTextInitial = initCurQrs.getQrsText(); } catch (Exception e) {} int qrsInstance = 0; try { qrsInstance = curQrs.getQrsInstance(); } catch (FieldNotInitializedException fnie) { } out.write("\n"); out.write("\t\t\t\t\t\t\t\t<p class=\"pre_post_labels p32_webform_questionblock\">"); out.print(lblLabel ); out.write("</p>\n"); out.write("\t\t\t\t\t\t\t\t<p id=\""); out.print( prefix ); out.write("_WebForm_ValQuestion"); out.print( lfqPos ); out.write("\" class=\"webform_answer\">\n"); out.write("\t\t\t\t\t\t\t\t\t<div class=\"webform_label div1_w25fl\">"); out.print( qLabelCode != null ? qLabelCode : qLabel ); out.write("</div>\n"); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t<div class=\"div1_w50fl2\">\n"); out.write("\t\t\t\t\t\t\t\t\t\t<textarea id=\""); out.print( prefix ); out.write('_'); out.print( lfqPos ); out.write("_ResponseTxt\"\n"); out.write("\t\t\t\t\t\t\t\t\t\tname=\""); out.print( prefix ); out.write('_'); out.print( lfqPos ); out.write("_ResponseTxt\" class=\"input_textarea\" >\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); out.print( qrsText ); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t</textarea>\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); if(!disabled && isActorLogis && qrsTextInitial != null && !Utils.isEmpty(qrsTextInitial)){ out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t<i class=\"i_text_initial\">"); out.print( qrsTextInitial ); out.write("</i>\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t\t\t</p>\n"); out.write("\n"); out.write("\t\t\t\t\t\t\t\t<p class=\"pre_post_labels p4_webform_questionblock\"> "); out.print(postlblLabel ); out.write("</p>\t\t\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t"); }else if(qType != null && qType.equals(dico.getRefIdByCode("FqtType" , "INT"))){ QuestionResponseBean qrs1 = null; String qrsText1 = ""; String qrsText1Initial = ""; int qrsInstance1 = -1; int instance = -1; int initqrsInstance1 = -1; int initinstance = -1; try{ if(responses != null && responses.size() > 0) qrs1 = new QuestionResponseBean((String)responses.elementAt(0),context); try { qrsText1 = qrs1.getQrsText(); } catch (Exception e) {} try { qrsText1Initial = initCurQrs.getQrsText(); } catch (Exception e) {} try { qrsInstance1 = qrs1.getQrsInstance(); if(qrsInstance1 == 0) instance = 1; else instance = 2; } catch (FieldNotInitializedException fnie) { } try { initqrsInstance1 = initCurQrs.getQrsInstance(); if(initqrsInstance1 == 0) initinstance = 1; else initinstance = 2; } catch (FieldNotInitializedException fnie) { } }catch(Exception e){ } QuestionResponseBean qrs2 = null; String qrsText2 = ""; String qrsText2Initial = ""; int qrsInstance2 = -1; int initqrsInstance2 = -1; try{ if(responses != null && responses.size() > 0) qrs2 = new QuestionResponseBean((String)responses.elementAt(1),context); try { qrsText2 = qrs2.getQrsText(); } catch (Exception e) {} try { qrsText2Initial = initialResponse !=null ?(new QuestionResponseBean(initialResponse.elementAt(1),context)).getQrsText():null; } catch (Exception e) {} try { qrsInstance2 = qrs2.getQrsInstance(); if(qrsInstance2 == 0) instance = 2; else instance = 1; } catch (FieldNotInitializedException fnie) { } try { initqrsInstance2 = initialResponse != null ?(new QuestionResponseBean(initialResponse.elementAt(1),context)).getQrsInstance() : null; if(initqrsInstance2 == 0) initinstance = 2; else initinstance = 1; } catch (FieldNotInitializedException fnie) { } if(initinstance != 1){ String temp = qrsText1Initial; qrsText1Initial = qrsText2Initial; qrsText2Initial = temp; } }catch(Exception e){ } out.write("\t\t\n"); out.write("\t\t\t\t\t"); String initRsp = initialResponse != null ? initialResponse.get(0):null; String rep2 = null; try{ rep2=qrs2.getQrsID(); }catch(Exception e){ rep2=null; } if(lfqPos.equals("429") && (rep2==null || rep2.equals(initRsp) || (initialResponse != null && initialResponse.contains(rep2)))) { qrsText2 = ""; qrsText1 = ""; } out.write("\n"); out.write("\t\t\t\t\t\t\t<p class=\"pre_post_labels p5_webform_questionblock\">"); out.print(lblLabel ); out.write("</p>\n"); out.write("\t\t\t\t\t\t\t<p id=\""); out.print(prefix ); out.write("_WebForm_ValQuestion"); out.print( lfqPos ); out.write("\" class=\"webform_answer\">\n"); out.write("\t\t\t\t\t\t\t\t<div class=\"webform_label div1_w40fl\">"); out.print( qLabelCode != null ? qLabelCode : qLabel ); out.write("</div>\n"); out.write("\t\t\t\t\t\t\t \t<div class=\"webform_label div3_w50fl\">\n"); out.write("\t\t\t\t\t\t\t \t\t"); out.print( "Fermetures_".equals(name) ? Utils.getMessage(context, lngCode, "L3128", "Du") : Utils.getMessage(context, lngCode, "L621C", "De") ); out.write(" \n"); out.write("\t\t\t\t\t\t\t \t\t<input type=\"text\" name=\""); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write("_ResponseInt\" value=\""); out.print( instance == 1 ? qrsText1 : qrsText2 ); out.write("\" size=\"20\" onblur=\"javascript:areTheyValid('"); out.print(typeOfQuestion); out.write("',this);\">\n"); out.write("\t\t\t\t\t\t\t \t\t"); if(!disabled && isActorLogis && qrsText1Initial != null && !Utils.isEmpty(qrsText1Initial)){ out.write("<i class=\"i_red\">"); out.print( qrsText1Initial ); out.write("</i>\n"); out.write("\t\t\t\t\t\t\t \t\t"); } out.print( "Fermetures_".equals(name) ? " " : " "+"€" ); out.write(" \n"); out.write("\t\t\t\t\t\t\t \t\t\n"); out.write("\t\t\t\t\t\t\t \t\t"); out.print( "Fermetures_".equals(name) ? Utils.getMessage(context, lngCode, "L63B4", "Au") : Utils.getMessage(context, lngCode, "L8254", "A") ); out.write(" \n"); out.write("\t\t\t\t\t\t\t \t\t<input type=\"text\" name=\""); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write("_ResponseInt\" value=\""); out.print( instance == 1 ? qrsText2 : qrsText1 ); out.write("\" size=\"20\" onblur=\"javascript:areTheyValid('"); out.print(typeOfQuestion); out.write("',this);\">\n"); out.write("\t\t\t\t\t\t\t \t\t"); if(!disabled && isActorLogis && qrsText2Initial != null && !Utils.isEmpty(qrsText2Initial)){ out.write("<i class=\"i_red\">"); out.print( qrsText2Initial ); out.write("</i>\n"); out.write("\t\t\t\t\t\t\t \t\t"); } out.print( "Fermetures_".equals(name) ? " " : " "+"€" ); out.write(" \n"); out.write("\t\t\t\t\t\t\t \t\t"); if(typeOfQuestion.equals("java.util.Date|java.util.Date")){ out.write("\n"); out.write("\t\t\t\t\t\t\t \t\t<img src=\""); if (_jspx_meth_fl_005fwebapp_005f2(_jspx_page_context)) return; out.write("/icons/bigvalid_non.gif\" onclick=\"javascript:clearDates('"); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write("_ResponseInt')\">\n"); out.write("\t\t\t\t\t\t\t \t\t"); } out.write("\n"); out.write("\t\t\t\t\t\t\t \t</div>\n"); out.write("\t\t\t\t\t\t\t</p>\n"); out.write("\t\t\t\t\t\t\t<p class=\"pre_post_labels p6_webform_questionblock\">"); out.print(postlblLabel ); out.write("</p>\n"); out.write("\t\t\t\t\t"); } else { //Pas Texte libre, c-a-d REF ou LST Vector<String> refvals = new Vector<String>(); boolean isREF = false; boolean isLST = false; if ( qType.equals(dico.getRefIdByCode("FqtType" , "REF")) ) { isREF = true; if(responses != null && responses.size() > 0){ QuestionResponseBean qrs = null; for(int i=0; i<responses.size(); i++){ qrs = new QuestionResponseBean(responses.elementAt(i),context); String refresp = null; try{ refresp = qrs.getQrsRefValID(); refvals.add(refresp); }catch(FieldNotInitializedException fe){ } } } } if ( qType.equals(dico.getRefIdByCode("FqtType" , "LST")) ) { isLST = true; } boolean isCombo = true; boolean isRadio = false; boolean isCheck = false; String dispType = null; try { dispType = curQuestion.getFqtDispType(); } catch (FieldNotInitializedException fnie) { } if (dispType != null && dispType.equals(dico.getRefIdByCode("FqtDispType", "RADIO"))) { isCombo = false; isRadio = true; } if (dispType != null && dispType.equals(dico.getRefIdByCode("FqtDispType", "CHECK"))) { isCombo = false; isCheck = true; } int complementaryText = 0; try { complementaryText = curQuestion.getFqtAssociatedText(); } catch (FieldNotInitializedException fnie) { } int nbColumn = 1; try { nbColumn = curQuestion.getFqtColumnsNb(); } catch (FieldNotInitializedException fnie) { } int hasOther = 0; try { hasOther = curQuestion.getFqtHasOther(); } catch (FieldNotInitializedException fnie) { } String refTableID = null; try { refTableID = curQuestion.getFqtRefTable(); } catch (FieldNotInitializedException fnie) { } Vector listSelectedRef = null; String selectedRefStr = null; try{ listSelectedRef = (Vector)curQuestion.getCustomProperty("FqtRefsDisp_"); selectedRefStr = Utils.implodeList(listSelectedRef, "|"); }catch(FieldNotInitializedException e){} Vector listRef2Init = null; String refToInitStr = null; try{ listRef2Init = (refvals != null && refvals.size()>0) ? refvals : (Vector)curQuestion.getCustomProperty("FqtRefsInit_"); refToInitStr = Utils.implodeList(listRef2Init, "|"); }catch(FieldNotInitializedException e){} Vector possibleResponses = new Vector(); possibleResponses = listSelectedRef; if ( isLST ) { for (int j=0 ; j < 15 ; j++) { String lstAnswer = null; try { Method getter = Class.forName("com.edeal.frontline.FormQuestionBean").getMethod("getFqtLstAnswer" + j , null); lstAnswer = (String) getter.invoke(curQuestion , null); } catch (Exception e) { } if (lstAnswer != null) { Vector oneResponse = new Vector(); oneResponse.add(Integer.toString(j)); oneResponse.add(lstAnswer); possibleResponses.add(oneResponse); } } } else { String[] fields = {"RefID","RefVal"}; String[][] query = {{"RefTabID = " + Utils.formatToSQL(context, refTableID)}}; String[] orderBy = {"RefTe1 ASC"}; } Vector<String> initrefvals = new Vector<String>(); if ( qType.equals(dico.getRefIdByCode("FqtType" , "REF")) ) { isREF = true; if(initialResponse != null && initialResponse.size() > 0){ QuestionResponseBean qrs = null; for(int i=0; i<initialResponse.size(); i++){ qrs = (new QuestionResponseBean(initialResponse.elementAt(i),context)); String refresp = null; try{ if(lfqPos.equals("431")){ refresp = qrs.getQrsText(); if(refresp==null){ refresp = qrs.getQrsRefValID(); } initrefvals.add(refresp); }else{ refresp = qrs.getQrsRefValID(); initrefvals.add(refresp); } }catch(FieldNotInitializedException fe){ } } } } Vector initlistSelectedRef = null; String initselectedRefStr = null; try{ initlistSelectedRef = (Vector)curQuestion.getCustomProperty("FqtRefsDisp_"); initselectedRefStr = Utils.implodeList(initlistSelectedRef, "|"); }catch(FieldNotInitializedException e){} Vector initlistRef2Init = null; String initrefToInitStr = null; try{ initlistRef2Init = (initrefvals != null && initrefvals.size()>0) ? initrefvals : (Vector)curQuestion.getCustomProperty("FqtRefsInit_"); initrefToInitStr = Utils.implodeList(initlistRef2Init, "|"); }catch(FieldNotInitializedException e){} Vector initpossibleResponses = new Vector(); initpossibleResponses = initlistSelectedRef; String initresponseSelected = ""; for (int j=0 ; initpossibleResponses!=null && j < initpossibleResponses.size() ; j++) { String initresponseChoice = (String) initpossibleResponses.elementAt(j); String initresponseLabel = (String)dico.getRefDisp(locale, refTableID, "Te1", initresponseChoice); String qrsRefVal = null; boolean isRefVal = false; boolean isInitVal = (initlistRef2Init != null ? initlistRef2Init.contains(initresponseChoice) : false); int qrsPos = -1; if (!isLST) { try { qrsRefVal = initCurQrs != null ? initCurQrs.getQrsRefValID() : ""; isRefVal = qrsRefVal.equals(initresponseChoice); } catch (Exception e) {} } else { try { qrsPos = initCurQrs.getQrsPosition(); isRefVal = (new Integer(initresponseChoice).intValue() == qrsPos); } catch (Exception e) {} } initresponseSelected = isInitVal ? initresponseLabel : initresponseSelected ; } // Evolution EB030 Boolean isClassement = false; String entTyeID = null; String HOTEL = dico.getRefIdByCode("EntTyeID", "HOTEL"); /* Hotel sans Restaurant */ String ETAB = dico.getRefIdByCode("EntTyeID", "ETAB"); /* Hotel-Restaurant */ try{ entTyeID = (String) EnterpriseBean.lookup(context, "EntTyeID", EntID); }catch(Exception e){ e.printStackTrace(); entTyeID = null; } if(code.equals("EntCheNbID_") || code.equals("EntCocNbID_")/* || code.equals("EntStarClassID_") || code.equals("EntAnx_")*/){ if (!entTyeID.equals(HOTEL) && !entTyeID.equals(ETAB)) { isClassement = true; } } if (isCombo) { if (isClassement == false) { out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t<p id=\""); out.print(prefix ); out.write("_WebForm_ValQuestion"); out.print( lfqPos ); out.write("\" class=\"webform_answer p_important_nofloat\" >\t\n"); out.write("\t\t\t\t\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); if(disabled) { out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t<div class=\"webform_label div1_w25fl\">"); out.print( qLabelCode != null ? qLabelCode : qLabel ); out.write("</div>\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t<div class=\"div1_w50fl\" >\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); if(possibleResponses != null && possibleResponses.size() > 0){ String responseSelected = ""; String responseChoice = ""; String responseChoiceSelected = ""; for (int j=0 ; j < possibleResponses.size() ; j++) { responseChoice = (String) possibleResponses.elementAt(j); String responseLabel = (String)dico.getRefDisp(locale, refTableID, "Te1", responseChoice); String qrsRefVal = null; boolean isRefVal = false; boolean isInitVal = (listRef2Init != null ? listRef2Init.contains(responseChoice) : false); int qrsPos = -1; if (!isLST) { try { qrsRefVal = curQrs != null ? curQrs.getQrsRefValID() : ""; isRefVal = qrsRefVal.equals(responseChoice); } catch (Exception e) {} } else { try { qrsPos = curQrs.getQrsPosition(); isRefVal = (new Integer(responseChoice).intValue() == qrsPos); } catch (Exception e) {} } responseSelected = isInitVal ? responseLabel : responseSelected ; responseChoiceSelected = isInitVal ? responseChoice : responseChoiceSelected ; } out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\""); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write('_'); out.print( isLST ? "ResponsePosition" : "ResponseRefID" ); out.write("\" value=\""); out.print( responseChoiceSelected ); out.write("\" />\n"); out.write("\t\t\t\t\t\t\t\t\t <input class=\"webform_input input1_w100\" type=\"text\" \n"); out.write("\t\t\t\t\t\t\t\t\t\t\t name=\""); out.print(prefix ); out.write('_'); out.write('_'); out.print( lfqPos ); out.write('_'); out.print( isLST ? "ResponsePosition" : "ResponseRefID" ); out.write("\" \n"); out.write("\t\t\t\t\t\t\t\t\t\t\t value =\""); out.print(responseSelected ); out.write("\"\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t size=\""); out.print( Integer.toString(complementaryText) ); out.write("\"\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t "); out.print( (disabled ? "disabled" : "") ); out.write("/>\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t "); if(!disabled && isActorLogis && responseSelected != null && !Utils.isEmpty(responseSelected)){ out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"i_red\">"); out.print( responseSelected ); out.write("</i>\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t "); }}else{ out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t <div class=\"webform_label div3_w25fl\">"); out.print( qLabelCode != null ? qLabelCode : qLabel ); out.write("</div>\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t<div class=\"div2_w70fl\">\n"); out.write("\t\t\t\t\t\t\t\t\t\t<select class=\"webform_select\" name=\""); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write('_'); out.print( isLST ? "ResponsePosition" : "ResponseRefID" ); out.write('"'); out.write(' '); out.print( (disabled ? "disabled" : "") ); out.write(">\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); if(possibleResponses != null && possibleResponses.size() > 0) out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t<option value=\"\"></option>\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); for (int j=0 ; j < possibleResponses.size() ; j++) { String responseChoice = (String) possibleResponses.elementAt(j); String responseLabel = (String)dico.getRefDisp(locale, refTableID, "Te1", responseChoice); String qrsRefVal = null; boolean isRefVal = false; boolean isInitVal = (listRef2Init != null ? listRef2Init.contains(responseChoice) : false); int qrsPos = -1; if (!isLST) { try { qrsRefVal = curQrs != null ? curQrs.getQrsRefValID() : ""; isRefVal = qrsRefVal.equals(responseChoice); } catch (Exception e) {} } else { try { qrsPos = curQrs.getQrsPosition(); isRefVal = (new Integer(responseChoice).intValue() == qrsPos); } catch (Exception e) {} } out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t<option value=\""); out.print( responseChoice ); out.write('"'); out.write(' '); out.print( (isInitVal ? "selected" : "") ); out.write('>'); out.print( responseLabel ); out.write("</option>\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t </select>\n"); out.write("\t\t\t\t\t\t\t\t\t "); if(!disabled && isActorLogis && initresponseSelected != null && !Utils.isEmpty(initresponseSelected)){ out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"i_red\">"); out.print( initresponseSelected ); out.write("</i>\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); } out.write("\t\t\t\t\t\t\t\t \n"); out.write("\t\t\t\t\t\t\t\t\t "); } out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); if (complementaryText > 0) { String cplText = null; try { cplText = curQrs != null ? curQrs.getQrsMoreText() : ""; } catch (Exception e) {} out.write("\n"); out.write("\t\t\t\t\t\t\t\t \t\t\t<input class=\"webform_input\" type=\"text\" name=\""); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write("_ResponseComplementaryText_Any\" value=\""); out.print( (cplText != null) ? curQrs.getQrsMoreText() :"" ); out.write("\" size=\""); out.print( Integer.toString(complementaryText) ); out.write("\">\n"); out.write("\t\t\t\t\t\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t\t\t\t</p>\n"); out.write("\t\t\t\t\t\t\t\t"); } } else { // pas combo , c-a-d checkbox ou radio String tagType = "checkbox"; if (isRadio) { tagType = "radio"; } //int nbResByColumn = possibleResponses.size() / nbColumn; //if ( nbColumn * nbResByColumn < possibleResponses.size() ) nbResByColumn++; //int cptPossibleResponse = 0; if(possibleResponses != null && possibleResponses.size() > 0 && possibleResponses.size() == 1){ int nbResByColumn = possibleResponses.size() / nbColumn; if ( nbColumn * nbResByColumn < possibleResponses.size() ) nbResByColumn++; int cptPossibleResponse = 0; String responseChoice = (String) possibleResponses.elementAt(0); String responseLabel = qLabel; boolean isInitVal = (listRef2Init != null ? listRef2Init.contains(responseChoice) : false); String initresponseChoice = (String) initpossibleResponses.elementAt(0); boolean initisInitVal = (initlistRef2Init != null ? initlistRef2Init.contains(initresponseChoice) : false); out.write("\n"); out.write("\t\t\t\t\t\t\t\t<p id=\""); out.print(prefix ); out.write("_WebForm_ValQuestion"); out.print( lfqPos ); out.write("\" class=\"webform_answer\">\n"); out.write("\t\t\t\t\t\t\t\t\t<div class=\"webform_label div1_w95fl\">\n"); out.write("\t\t\t\t\t\t\t\t\t<p class=\"pre_post_labels p7_webform_questionblock\">"); out.print(lblLabel ); out.write("</p>\n"); out.write("\t\t\t\t\t\t\t\t\t<label><input type=\""); out.print( tagType ); out.write("\" name=\""); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write('_'); out.print( isLST ? "ResponsePosition" : "ResponseRefID" ); out.write("\" \n"); out.write("\t\t\t\t\t\t\t\t\tvalue=\""); out.print( responseChoice ); out.write('"'); out.write(' '); out.print( isInitVal ? "checked" : "" ); out.write(">\n"); out.write("\t\t\t\t\t\t\t\t\t"); out.print(initisInitVal && isActorLogis ? "<i class=\"i_red\">"+(qLabelCode != null ? qLabelCode : qLabel)+"</i>" : (qLabelCode != null ? qLabelCode : qLabel) ); out.write("</label>\n"); out.write("\t\t\t\t\t\t\t\t\t<p class=\"pre_post_labels p8_webform_questionblock\">"); out.print(postlblLabel ); out.write("</p>\n"); out.write("\t\t\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t\t\t"); }else if(possibleResponses != null && possibleResponses.size() > 1){ int nbResByColumn = possibleResponses.size() / nbColumn; if ( nbColumn * nbResByColumn < possibleResponses.size() ) nbResByColumn++; int cptPossibleResponse = 0; out.write("\n"); out.write("\t\t\t\t\t\t\t\t<p id=\""); out.print(prefix ); out.write("_WebForm_ValQuestion"); out.print( lfqPos ); out.write("\" class=\"webform_answer\">\n"); out.write("\t\t\t\t\t\t\t\t\t<p class=\"pre_post_labels p9_webform_questionblock\">"); out.print( lblLabel ); out.write("</p>\n"); out.write("\t\t\t\t\t\t\t\t\t<div class=\"webform_label div2_w95fl\" >"); out.print( qLabelCode != null ? qLabelCode : qLabel ); out.write("</div>\n"); out.write("\t\t\t\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\t\t\t<ul id=\""); out.print(prefix ); out.write("_WebForm_ValQuestion"); out.print( lfqPos ); out.write("\" class=\"webform_list ul_w95ofh\">\n"); out.write("\t\t\t\t\t\t\t\t"); boolean isChecked=false; for (int j=0 ; j < possibleResponses.size() ; j++) { String responseChoice = (String) possibleResponses.elementAt(j); String responseLabel = (String)dico.getRefDisp(locale, refTableID, "Te1", responseChoice); String qrsRefVal = null; boolean isRefVal = false; boolean isInitVal = (listRef2Init != null ? listRef2Init.contains(responseChoice) : false); boolean initisInitVal = (initlistRef2Init != null ? initlistRef2Init.contains(responseChoice) : false); if(isInitVal==true) isChecked=true; int qrsPos = -1; if (!isLST) try { qrsRefVal = curQrs != null ? curQrs.getQrsRefValID() : ""; isRefVal = qrsRefVal.equals(responseChoice); } catch (Exception e) {} else try { qrsPos = curQrs.getQrsPosition(); isRefVal = (new Integer(responseChoice).intValue() == qrsPos); } catch (Exception e) {} String cplText = null; try { cplText = curQrs != null ? curQrs.getQrsMoreText() : ""; } catch (Exception e) {} out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t<li style=\"float:left;display:inline;width:"); out.print( (100/nbColumn) + "%" ); out.write(";\">\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t"); if (cptPossibleResponse % nbResByColumn == 0) { out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); if (cptPossibleResponse > 0) { out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"webform_answer label1_fs12fwb\" >"); out.print( "radio".equals(tagType)? "<span class='spanaroundradio'>":"" ); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t<input type=\""); out.print( tagType ); out.write("\" name=\""); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write('_'); out.print( isLST ? "ResponsePosition" : "ResponseRefID" ); out.write("\" \n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\tvalue=\""); out.print( responseChoice ); out.write('"'); out.write(' '); out.print( isRefVal || isInitVal ? "checked" : "" ); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); out.print( (disabled ? "disabled" : "") ); out.write(" />\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); out.print(initisInitVal && isActorLogis ? "<i class=\"i_red\">"+responseLabel+"</i>" : responseLabel ); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); out.print( "radio".equals(tagType)? "</span>":"" ); out.write("</label>\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t"); } else { out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"webform_answer label2_fs12fwb\">"); out.print( "radio".equals(tagType)? "<span class='spanaroundradio'>":"" ); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t<input type=\""); out.print( tagType ); out.write("\" name=\""); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write('_'); out.print( isLST ? "ResponsePosition" : "ResponseRefID" ); out.write("\" \n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\tvalue=\""); out.print( responseChoice ); out.write('"'); out.write(' '); out.print( isRefVal || isInitVal ? "checked" : "" ); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); out.print( (disabled ? "disabled" : "") ); out.write(" /> <!-- #006120-->\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); out.print(initisInitVal && isActorLogis ? "<i style=\"color:red\">"+responseLabel+"</i>" : responseLabel ); out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t"); out.print( "radio".equals(tagType)? "</span>":"" ); out.write("</label>\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t"); } if ( (complementaryText > 0) || (hasOther > 0 && j == possibleResponses.size() - 1) ) { out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\""); out.print(prefix ); out.write('_'); out.print( lfqPos ); out.write("_ResponseComplementaryText_"); out.print( responseChoice ); out.write("\" \n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\""); out.print( cplText != null && isRefVal ? cplText : "" ); out.write("\" \n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t\tsize=\""); out.print( complementaryText > 0 ? Integer.toString(complementaryText) : Integer.toString(hasOther) ); out.write("\"\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t"); out.print( (disabled ? "disabled" : "") ); out.write(" />\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t</li>\n"); out.write("\t\t\t\t\t\t\t\t\t\t\t"); cptPossibleResponse++; } out.write("\n"); out.write("\t\t\t\t\t\t\t\t</ul>\n"); out.write("\t\t\t\t\t\t\t</p>\n"); out.write("\t\t\t\t\t\t\t<p class=\"pre_post_labels p10_webform_questionblock\">"); out.print( postlblLabel ); out.write("</p>\n"); out.write("\t\t\t\t\t\t\t"); } //if > 1 out.write("\n"); out.write("\n"); out.write("\t\t\t\t\t\t\t\t"); } } out.write("\n"); out.write("</div>\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_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; } }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de