Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\service\solicitation\select_list.jsp
<%@ page language="java" contentType="text/plain; charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.grid.*" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %><% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); String code = "selectPer"; String codeSil = "selectSil"; GridData grid = (GridData)request.getAttribute(code); GridData gridSil = (GridData)request.getAttribute(codeSil); %> var _doHidePage = false; try { _doHidePage = <%= code %>_hidePage; } catch (error) { } if (!_doHidePage) { <% if (grid.isFirstPage()) { %> window.document.getElementById("<%= code %>_previous").style.visibility = "hidden"; <% } else { %> window.document.getElementById("<%= code %>_previous").style.visibility = "visible"; <% } if (grid.isLastPage()) { %> window.document.getElementById("<%= code %>_next").style.visibility = "hidden"; <% } else { %> window.document.getElementById("<%= code %>_next").style.visibility = "visible"; <% } %> window.<%= code %>_page = <%= grid.getPageNumber() %>; var node = window.document.getElementById("<%= code %>_nbpage"); while ( node.hasChildNodes() ) { node.removeChild(node.firstChild); } node.appendChild(window.document.createTextNode('<fl:getMessage code="F608C" alt="Page" js="true"/> ' + (window.<%= code %>_page + 1))); } // end hidePage try { emptyGridStrings['<%= code %>'] = '<fl:getMessage js="true" code="L0001" alt="Aucune entrée disponible"/>'; } catch (error) { } myGrid_selectPer.setRowCount(<%= grid.getNbLines() %>); <% String ajaxScript; try { ajaxScript = GridTag.printAjaxGridData(grid, code, session); } catch (FrontlineException e) { ajaxScript = ""; logger.error("[listAjax.jsp] - " + e.toString()); } %> try { _doHidePage = <%= codeSil %>_hidePage; } catch (error) { } if (!_doHidePage) { <% if (gridSil.isFirstPage()) { %> window.document.getElementById("<%= codeSil %>_previous").style.visibility = "hidden"; <% } else { %> window.document.getElementById("<%= codeSil %>_previous").style.visibility = "visible"; <% } if (gridSil.isLastPage()) { %> window.document.getElementById("<%= codeSil %>_next").style.visibility = "hidden"; <% } else { %> window.document.getElementById("<%= codeSil %>_next").style.visibility = "visible"; <% } %> window.<%= codeSil %>_page = <%= gridSil.getPageNumber() %>; node = window.document.getElementById("<%= codeSil %>_nbpage"); while ( node.hasChildNodes() ) { node.removeChild(node.firstChild); } node.appendChild(window.document.createTextNode('<fl:getMessage code="F608C" alt="Page" js="true"/> ' + (window.<%= codeSil %>_page + 1))); } // end hidePage try { emptygridStrings['<%= codeSil %>'] = '<fl:getMessage js="true" code="L0001" alt="Aucune entrée disponible"/>'; } catch (error) { } <% String ajaxScriptSil; try { ajaxScriptSil = GridTag.printAjaxGridData(gridSil, codeSil, session); } catch (FrontlineException e) { ajaxScriptSil = ""; logger.error("[listAjax.jsp] - " + e.toString()); } %> <%= ajaxScript %><%=ajaxScriptSil %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de