Edit C:\galaxie\Back\galaxie\marketing\scriptresponse\scriptelement2.jsp
<% /****************************************************************************** * Copyright (c) 2000-2004 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. * * ******************************************************************************/ %><%@page session="true" import="com.edeal.frontline.*,java.util.*,java.text.*,java.lang.reflect.*, com.edeal.frontline.navigation.*"%> <%@ page import="java.util.LinkedHashMap" %> <%@ page import="com.edeal.frontline.helper.custom.EventHelper" %> <%@ page import="com.edeal.frontline.helper.EventBaseHelper.StatusType" %> <%@ page import="com.edeal.frontline.helper.EventBaseHelper.EventCategory" %> <%@ page import="java.util.Iterator" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp"> <% //GET CONTEXT INFO 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 = context.getDataDictionary(); // GET ACTOR NAME String actID = (String)session.getAttribute("actorID"); String actCompleteName = "........."; try { ObjectsBean objBean = dico.getTable("sql", "Actor"); actCompleteName = objBean.toString(session, actID); } catch (FrontlineException fe) { } //GET PARAMETERS String lsePositionStr = flRequest.getRequestParameterOrAttribute("lsePosition"); String perID = flRequest.getRequestParameterOrAttribute("perID"); String scriptID = flRequest.getRequestParameterOrAttribute("scriptID"); String preview = flRequest.getRequestParameterOrAttribute("preview"); if (preview == null) preview = "0"; int lsePosition = new Integer(lsePositionStr).intValue(); //GET OBJECTS FROM SESSION PersonBean person = null; ScriptBean script = null; Vector linkScriptElements = new Vector(); Vector scriptElements = new Vector(); person = (PersonBean)session.getAttribute("srpPerson"); script = (ScriptBean)session.getAttribute("srpScript"); scriptElements = (Vector)session.getAttribute("srpScriptElements"); linkScriptElements = (Vector)session.getAttribute("srpLinkScriptElements"); if (script == null || scriptElements == null || scriptElements.size() == 0 || !scriptID.equals(script.getScrID())) { throw new FrontlineException("scriptresponse edit_body info missing"); } // pour la replication de session en cluster if (person != null) { person.setSession(session); } if (script != null) { script.setSession(session); } for (int i = 0; i < scriptElements.size(); i++) { if (scriptElements.elementAt(i) != null) { ((ScriptElementBean)scriptElements.elementAt(i)).setSession(session); } } for (int i = 0; i < linkScriptElements.size(); i++) { if (linkScriptElements.elementAt(i) != null) { ((LinkScriptElementBean)linkScriptElements.elementAt(i)).setSession(session); } } ScriptElementBean scriptElement = null; LinkScriptElementBean linkScriptElement = null; if (scriptElements.size() > 0) { scriptElement = (ScriptElementBean)scriptElements.elementAt(lsePosition); linkScriptElement = (LinkScriptElementBean)linkScriptElements.elementAt(lsePosition); } //GET DISPLAY INFO String scriptLabel = "???"; String scriptNumber = "???"; String scriptEventID = script.getScrEventID(); String scrParStatusRule = null; try { scrParStatusRule = script.getScrParStatusRule(); } catch (FieldNotInitializedException e) {}; String scrParStatus = null; try { scrParStatus = script.getScrParStatus(); } catch (FieldNotInitializedException e) {}; scriptLabel = script.getScrLabel(); DecimalFormat df = FlLocale.getInstance(session).getDecimalFormat("0000"); scriptNumber = df.format((long) (script.getScrSeqNum())); String perCompleteName = (person == null) ? Utils.getMessage(session, "L620E", "<Nom de la personne>") : person.toString(); //IF THIS IS THE LAST SCRIPT ELEMENT, WE'LL BE SHOWING THE EVENT STATUS CHOICES LinkedHashMap<String, String> statusParIDAndDisplay = new LinkedHashMap<String, String>(); boolean askForParStatus = false; if (lsePosition == scriptElements.size() - 1) { String[][] queryPvt = {{"PvtEventID = " + Utils.formatToSQL(context, scriptEventID) , "PvtPersonID = " + Utils.formatToSQL(context, perID)}}; String[] fieldsPvt = {"PvtID"}; Vector listPvt = PersonEventBean.listSummary(session, fieldsPvt, queryPvt); //On regarde si on doit poser la question de l'état pour l'evenement if (scrParStatusRule == null || "NONE".equals(dico.getRefCode("ScrParStatusRule" , scrParStatusRule)) ) { if (listPvt == null || listPvt.size() == 0) { askForParStatus = true; } } else if ( "MANU".equals(dico.getRefCode("ScrParStatusRule" , scrParStatusRule)) ) { askForParStatus = true; } if (askForParStatus) { statusParIDAndDisplay = EventHelper.getListStatusByEvent(context, StatusType.PARTICIPATION, scriptEventID); } } //IF WE ALREADY KNOW THIS PERSON'S ANSWERS TO THIS QUESTION, WE WANT TO PRESELECT THEM Vector scriptElementResponses = new Vector(); String[][] querySer = {{"SerSrpID:SrpScriptID = " + Utils.formatToSQL(context, scriptID), "SerSrpID:SrpPersonID = " + Utils.formatToSQL(context, perID), "SerLseID = " + Utils.formatToSQL(context, linkScriptElement.getLseID())}}; scriptElementResponses = ScriptElementResponseBean.list(session, querySer); boolean hasNotes = "true".equals(flRequest.getRequestParameterOrAttribute("hasNotes")); %> <html> <head> <link rel="stylesheet" href="<fl:webapp/>/css/common_large.css" type="text/css"> <script language="JavaScript"> function doFinish(){ var f=document.forms[0]; var returnedScript = "<scr" + "ipt language=\"javascript\">"+"if (window.top.opener.waitNreload) window.top.opener.waitNreload();window.top.close();" + "</s" + "cript>"; f.elements["$$returnedHtmlHead"].value = returnedScript; f.elements["$$returnedHtmlBody"].value = "..."; } function doSubmit() { mf = document.forms[0]; //mf.SrpNotes.value = top.frames["Notes"].document.forms[0].SrpNotes.value; mf.action = '<%=flRequest.computeURL("/save_scriptresponsetransition.fl?scriptID="+scriptID)+"&preview="+preview+ (perID != null && !perID.equals("null") ? "&perID=" + perID : "" )+(hasNotes ? "&hasNotes=true" : "") %>'; mf.submit(); } </script> <title><%= scriptLabel %></title> </head> <body style="overflow: auto"> <div id="object_css" style="top:0px;left: 0px;height:<%=hasNotes ? "80%;overflow: auto;" : "100%"%>"> <%-- DISPLAY NAVIGATION BAR --%> <div align="left" style="font-size: 8pt ; font-weight: normal"> <a href="javascript:document.forms[0].NextPosition.value='0';doSubmit();" style="font-size: 10pt"><img src="<fl:webapp/>/icons/ico/flecheGdouble.gif"/></a> <a href="javascript:document.forms[0].NextPosition.value='prev';doSubmit();" style="font-size: 10pt"><img src="<fl:webapp/>/icons/ico/flecheG.gif"/></a> <% if (lsePosition != scriptElements.size() -1) { %> <a href="javascript:document.forms[0].NextPosition.value='next';doSubmit();" style="font-size: 10pt"><img src="<fl:webapp/>/icons/ico/flecheD.gif"/></a> <% } else { %> <a href="javascript:document.forms[0].NextPosition.value='end';doSubmit();" style="font-size: 10pt"><img src="<fl:webapp/>/icons/ico/flecheD.gif"/></a> <% } %> <a href="javascript:document.forms[0].NextPosition.value='<%= scriptElements.size() - 1 %>';doSubmit();" style="font-size: 10pt"><img src="<fl:webapp/>/icons/ico/flecheDdouble.gif"/></a> </div> <%-- HEADER --%> <div align="center" style="font-size: 14pt ; font-weight: bold"> <% //IF THIS IS NOT A PREVIEW, SHOW A LINK TO THE PERSON if (perID != null) { %> <a href="<fl:webapp/>/edit_person.fl?id=<%= perID %>" target="_blank" style="font-size: 14pt"><%= perCompleteName %><a> <% } else { %> <%= perCompleteName %> <% } %> </div> <div align="center" style="font-size: 12pt ; font-weight: bold"><%= scriptLabel %> (<%= scriptNumber %>)</div> <%-- END OF HEADER --%> <form method="post" action="javascript:document.forms[0].NextPosition.value='next';doSubmit();"> <%-- HIDDEN FORM FIELDS --%> <input type="hidden" name="ScriptID" value="<%= scriptID %>"> <% if (scriptElement != null && linkScriptElement != null) { %> <input type="hidden" name="ScriptElementID" value="<%= scriptElement.getSceID() %>"> <input type="hidden" name="LinkScriptElementID" value="<%= linkScriptElement.getLseID() %>"> <% } %> <%-- Current element index --%> <input type="hidden" name="LsePosition" value="<%= lsePosition %>"> <% for (int i=0 ; i<scriptElements.size() ; i++) { %> <%-- Here we write down all the JSP Pages for all the script elements so we can get them when we want to change elements --%> <input type="hidden" name="JSPPage<%=i%>" value="<%=((ScriptElementBean)scriptElements.elementAt(i)).getSceJSPPage()%>"><% } %> <input type="hidden" name="Preview" value="<%= preview %>"> <input type="hidden" name="PerID" value="<%= perID %>"> <input type="hidden" name="EventID" value="<%= scriptEventID %>"> <%--<input type="hidden" name="SrpTimer_" value="">--%> <input type="hidden" name="<%= lsePosition %>_LseID" value="<%= scriptElement.getSceID() %>"> <%-- Next element requested index --%> <input type="hidden" name="NextPosition" value=""> <input type="hidden" name="$$returnedHtmlHead" value='<%= "<scr" + "ipt language=\"javascript\">window.top.close();</s"+"cript>"%>'> <input type="hidden" name="$$returnedHtmlBody" value="..."> <fl:bigTabs objectTitle="<%=Utils.getMessage(session, \"L63FA\", false, true, \"Elément de script n°\")+\" \"+(lsePosition+1)%>"> <table class="container" width="100%"> <tr class="ligne_separation"><td></td></tr> <% if (scriptElement != null) { String qLabel = null; try { qLabel = scriptElement.getSceLabel(); } catch (FieldNotInitializedException fnie) { } String qDescription = null; try { qDescription = Utils.formatToWeb(scriptElement.getSceDescription(), false); } catch (FieldNotInitializedException fnie) { } // remplacement de $$actor$$ et $$person$$ if (qDescription != null) { qDescription = Utils.replace(qDescription, "$$person$$", perCompleteName); qDescription = Utils.replace(qDescription, "$$actor$$", actCompleteName); } /* String qComment = null; try { qComment = Utils.formatToWeb((String)scriptElement.getCustomProperty("SceComment_"), false); } catch (FieldNotInitializedException fnie) { } // remplacement de $$actor$$ et $$person$$ if (qComment != null) { qComment = Utils.replace(qComment, "$$person$$", perCompleteName); qComment = Utils.replace(qComment, "$$actor$$", actCompleteName); } */ //IMAGE String picID = null; try { picID = scriptElement.getSceImage(); } catch (FieldNotInitializedException ex) {} %> <%-- DISPLAY SCRIPT ELEMENT LABEL --%> <tr class="fieldline"> <td class="titrePartie" colspan="2" nowrap> <%= qLabel == null ? " " : qLabel %> </td> </tr> <tr class="ligne_separation_couleur"><td colspan="2"></td></tr> <tr class="ligne_separation"><td colspan="2"></td></tr> <%-- DISPLAY SCRIPT ELEMENT IMAGE IF ANY --%> <% if (picID != null) { %> <tr class="fieldline"> <td class="dataValue" colspan="2" > <img src="<fl:webapp/>/download?id=<%= picID %>" border="0" alt="<fl:getMessage code="F6025" alt="Image"/>"> </td> </tr> <tr class="ligne_separation"><td colspan="2"> </td></tr> <% } %> <%-- DISPLAY SCRIPT ELEMENT DESCRIPTION --%> <tr class="fieldline"> <td class="dataLabel" style="width: 20%"> <%= qDescription == null ? " " : qDescription %> </td> <%-- DISPLAY SCRIPT ELEMENT COMMENT IF ANY --%> <%-- <% if (qComment != null) { %> <tr> <td valign="top" colspan="2" class="transparent" style="font-style: italic;font-size: 85%"> <%= qComment == null ? " " : qComment %> </td> </tr> <% } %> --%> <%-- DISPLAY SCRIPT ELEMENT ANSWERS --%> <% if (scriptElement.getSceHasAnswers() == 1) { String qType = null; try { qType = scriptElement.getSceType(); } catch (FieldNotInitializedException fnie) { } //if text libre if ( qType == null || qType.equals(dico.getRefIdByCode("SceType" , "FRE")) ) { int inputSize = 0; try { inputSize = scriptElement.getSceInputSize(); } catch (FieldNotInitializedException fnie) { } String value = ""; if (scriptElementResponses.size() > 0) { try { value = ((ScriptElementResponseBean)scriptElementResponses.elementAt(0)).getSerText(); } catch (FieldNotInitializedException e) {} } if (inputSize == -1) { %> <%--<tr>--%> <td class="dataValue"> <textarea name="<%= lsePosition %>_ResponseTxt" rows="5" style="width: 100%"><%= value %></textarea> </td> </tr> <% } else { %> <%--<tr>--%> <td class="dataValue"> <input type="text" name="<%= lsePosition %>_ResponseTxt" value="<%=value%>" size="<%= inputSize == 0 ? "50" : Integer.toString(inputSize) %>"> </td> </tr> <% } } else { //Pas Texte libre, c-a-d REF ou LST boolean isREF = false; boolean isLST = false; if ( qType.equals(dico.getRefIdByCode("SceType" , "REF")) ) { isREF = true; } if ( qType.equals(dico.getRefIdByCode("SceType" , "LST")) ) { isLST = true; } boolean isCombo = true; boolean isRadio = false; boolean isCheck = false; String dispType = null; try { dispType = scriptElement.getSceDispType(); } catch (FieldNotInitializedException fnie) { } if (dispType != null && dispType.equals(dico.getRefIdByCode("SceDispType", "RADIO"))) { isCombo = false; isRadio = true; } if (dispType != null && dispType.equals(dico.getRefIdByCode("SceDispType", "CHECK"))) { isCombo = false; isCheck = true; } int complementaryText = 0; try { complementaryText = scriptElement.getSceAssociatedText(); } catch (FieldNotInitializedException fnie) { } int nbColumn = 1; try { nbColumn = scriptElement.getSceColumnsNb(); } catch (FieldNotInitializedException fnie) { } int hasOther = 0; try { hasOther = scriptElement.getSceHasOther(); } catch (FieldNotInitializedException fnie) { } String refTableID = null; try { refTableID = scriptElement.getSceRefTable(); } catch (FieldNotInitializedException fnie) { } Vector possibleResponses = new Vector(); Vector recordedResponses = new Vector(); //in this vector we will store the responses from scriptElementResponses that we have Hashtable complementaryTexts = new Hashtable(); //in this hashtable we will store the complementary texts that we have if ( isLST ) { for (int j=0 ; j < 15 ; j++) { String lstAnswer = null; try { Method getter = Class.forName("com.edeal.frontline.ScriptElementBean").getMethod("getSceLstAnswer" + j , null); lstAnswer = (String) getter.invoke(scriptElement , null); } catch (Exception e) { } if (lstAnswer != null) { Vector oneResponse = new Vector(); oneResponse.add(Integer.toString(j)); oneResponse.add(lstAnswer); possibleResponses.add(oneResponse); } } for (int k = 0 ; k < scriptElementResponses.size() ; k++) { try { String choice = new Integer(((ScriptElementResponseBean)scriptElementResponses.elementAt(k)).getSerPosition()).toString(); recordedResponses.addElement(choice); complementaryTexts.put(choice, ((ScriptElementResponseBean)scriptElementResponses.elementAt(k)).getSerMoreText()); } catch (FieldNotInitializedException e) {} } } else { try { possibleResponses = dico.getRefList(session, refTableID , "Te1"); } catch (FrontlineException fe) { logger.error("DBG: dico.getRefList a lancé une exception : " + fe.getMessage()); } for (int k = 0 ; k < scriptElementResponses.size() ; k++) { try { String choice = ((ScriptElementResponseBean)scriptElementResponses.elementAt(k)).getSerRefValID(); recordedResponses.addElement(choice); complementaryTexts.put(choice, ((ScriptElementResponseBean)scriptElementResponses.elementAt(k)).getSerMoreText()); } catch (FieldNotInitializedException e) {} } } if (isCombo) { %> <td class="dataValue"><select name="<%= lsePosition %>_<%= isLST ? "ResponsePosition" : "ResponseRefID" %>" style="width: 25%"> <% String responseChoice = new String(); for (int j=0 ; j < possibleResponses.size() ; j++) { responseChoice = (String) ((Vector) possibleResponses.elementAt(j)).elementAt(0); String responseLabel = (String) ((Vector) possibleResponses.elementAt(j)).elementAt(1); %> <option value="<%= responseChoice %>"<%= recordedResponses.contains(responseChoice) ? " selected" : ""%>><%= responseLabel %></option> <% } %> </select> <% if (complementaryText > 0) { String compText = (String)complementaryTexts.get(responseChoice); %> <input type="text" name="<%= lsePosition %>_ResponseComplementaryText_Any" value="<%= compText != null ? compText : "" %>" size="<%= Integer.toString(complementaryText) %>"> <% } %> </td> </tr> <% } else { // pas combo , c-a-d checkbox ou radio String tagType = "checkbox"; if (isRadio) { tagType = "radio"; } %> <td class="transparent"> <table class="container" width="100%"> <tr class="fieldline"> <% int nbResByColumn = possibleResponses.size() / nbColumn; if ( nbColumn * nbResByColumn < possibleResponses.size() ) nbResByColumn++; int cptPossibleResponse = 0; for (int j = 0 ; j < possibleResponses.size() ; j++) { String responseChoice = (String) ((Vector) possibleResponses.elementAt(j)).elementAt(0); String responseLabel = (String) ((Vector) possibleResponses.elementAt(j)).elementAt(1); if (cptPossibleResponse % nbResByColumn == 0) { if (cptPossibleResponse > 0) { %> </td> <% } %> <td class="dataValue" style="width: 50%"><input type="<%= tagType %>" name="<%= lsePosition %>_<%= isLST ? "ResponsePosition" : "ResponseRefID" %>" value="<%= responseChoice %>"<%= recordedResponses.contains(responseChoice) ? " checked" : ""%>><%= responseLabel %> <% } else { %> <br><input type="<%= tagType %>" name="<%= lsePosition %>_<%= isLST ? "ResponsePosition" : "ResponseRefID" %>" value="<%= responseChoice %>"<%= recordedResponses.contains(responseChoice) ? " checked" : ""%>><%= responseLabel %> <% } if ( (complementaryText > 0) || (hasOther > 0 && j == possibleResponses.size() - 1) ) { String compText = (String)complementaryTexts.get(responseChoice); %> <input type="text" name="<%= lsePosition %>_ResponseComplementaryText_<%= responseChoice %>" value="<%= compText != null ? compText : "" %>" size="<%= complementaryText > 0 ? Integer.toString(complementaryText) : Integer.toString(hasOther) %>"> <% } cptPossibleResponse++; } %> </td> </tr> </table> </td> </tr> <% } }//end of if (texte libre) }//end of if (scriptElement.getSceHasAnswers() == 1) %><%-- END OF DISPLAY SCRIPT ELEMENT ANSWERS --%><% }//end of if (scriptelement != null) %> </table> <%-- IF THIS IS THE LAST ELEMENT, WE MAY WANT TO SHOW THE EVENT STATUS SECTION --%> <% if (lsePosition == scriptElements.size() - 1) { %> <%-- EVENT STATUS SECTION --%> <table class="container" width="100%"> <% if (askForParStatus) { %> <tr><td class="dataLabel" id="statusPar_label"><div><label title="<fl:getMessage code="L8186" alt="Participation"/>" for="statusPar"><fl:getMessage code="L8186" alt="Participation"/></label></div></td></tr> <tr class="ligne_separation"><td></td></tr> <tr> <td class="dataValue"> <% if (statusParIDAndDisplay != null && !statusParIDAndDisplay.isEmpty()) { Iterator<String> iter = statusParIDAndDisplay.keySet().iterator(); while (iter.hasNext()) { String currStatusID = iter.next(); String currStatusDisplay = statusParIDAndDisplay.get(currStatusID); %> <input type="radio" value="<%= currStatusID %>" name="statusPar" id ="statusPar" <%= currStatusID.equals(scrParStatus) ? "checked" : "" %>><%= currStatusDisplay %> <% } } } else if ( scrParStatusRule != null && "AUTO".equals(dico.getRefCode("ScrParStatusRule" , scrParStatusRule)) ) { %> <tr> <td width="100%" colspan="2" class="transparent" align="right" style="text-align: right"> <input type="hidden" name="statusPar" value="<%= scrParStatus == null ? "" : scrParStatus %>"> </td> </tr> <% } %> </td> </tr> </table> <%-- END OF EVENT STATUS SECTION --%> <% } %> <%-- OBJECTIONS / ARGUMENTS --%> <% if (scriptElement != null && scriptElement.getID() != null) { String[][] query = {{"LsoScriptElementID = " + Utils.formatToSQL(context, scriptElement.getID())}}; String[] fields = {"LsoID" , "LsoObjectionID" , "LsoObjectionID:ObaObjection", "LsoPosition"}; String[] orderBy = {"LsoPosition"}; Vector linksList = LinkScriptElementObjectionBean.listSummary(session , fields, query, orderBy); //if there are links to objections if (linksList != null && linksList.size() > 0) { %> <div align="left"> <table border="0" width="100%" > <tr class="linge_separation"><td> </td></tr> <tr class="fieldline"> <td width="100%" colspan="3" class="titrePartie" style="font-size: 12; text-align: center;"><fl:getMessage code="L61FC" alt="Liste des objections / arguments"/></td> </tr> <tr class="linge_separation"><td> </td></tr> <tr> <td class="dataValue" style="text-align: center"> <% //for each objection for (int i=0 ; i < linksList.size() ; i++) { Hashtable curLink = (Hashtable) linksList.elementAt(i); String curLsoObjectionID = (String) curLink.get("LsoObjectionID"); String obaObjection = (String) curLink.get("LsoObjectionID:ObaObjection"); %><a href="<fl:webapp/>/read_objectionargument.fl?id=<%=curLsoObjectionID%>" target="_blank"><%= obaObjection %></a><br><% } %> </td> </tr> <tr class="ligne_separation"><td> </td></tr> </table> </div> <% }//end of if there are links to objections }//end of if there is a script element %><%-- END OF OBJECTIONS / ARGUMENTS --%><% if (scriptElement == null) { %><fl:getMessage code="L61FF" alt="Aucun élément de script n\'est rattaché à ce script."/><% } %> <%-- PROGRESS BAR --%> <div align="center" style="font-size: 14pt ; font-weight: bold"> <% if (lsePosition != scriptElements.size() -1) { %> <a href="javascript:document.forms[0].NextPosition.value='next';doSubmit();" style="font-size: 20pt"><img src="<fl:webapp/>/icons/ico/flecheD.gif" /></a> <% } else { %> <a href="javascript:document.forms[0].NextPosition.value='end';doFinish();doSubmit();" style="font-size: 20pt"><img src="<fl:webapp/>/icons/ico/flecheDdouble.gif" /></a> <% } %> </div> <%-- END OF PROGRESS BAR --%> <p> <script language="JavaScript"> window.focus(); </script> </fl:bigTabs> </div> <%if (hasNotes){ String noteJspPage= "notes.jsp"; String sceJSPID = ((ScriptElementBean)scriptElements.elementAt(0)).getSceJSPPage(); if (sceJSPID != null && !sceJSPID.equals(dico.getRefIdByCode("SceJSPPage", "DEFAULT"))) { noteJspPage= (String)dico.getRefDisp(session, "Pjs", "Te3", sceJSPID); //otherwise ask the script which JSP page to use } else { noteJspPage= (String)dico.getRefDisp(session, "Pjs", "Te3", script.getScrJSPPage()); } %> <div id="myNote" style="position: absolute; display:block;bottom: 0; left: 0; width: 100%; height: 19%"> <jsp:include page="<%=noteJspPage%>" flush="true"> <jsp:param name="scriptID" value="<%= scriptID %>"/> <jsp:param name="perID" value="<%=perID%>"/> </jsp:include> </div> <%}%> </form> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de