Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\label\list.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="java.util.Vector" %> <%@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); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); Vector languages = dico.getRefList(session, "LblCodeLng"); String valCode=flRequest.getParameter("msg"); valCode=(valCode==null)?"":valCode; %> <script language="javascript"> function doSearch() { var f = window.document.forms['searchForm']; var sc = ""; if (f.LblCodeMsg && f.LblCodeMsg.value) { myAjaxURL_LABEL = replaceParam(myAjaxURL_LABEL, 'LblCodeMsg', encodeURIComponent(f.LblCodeMsg.value)); sc += '&LblCodeMsg=' + f.LblCodeMsg.value; } else { myAjaxURL_LABEL = replaceParam(myAjaxURL_LABEL, 'LblCodeMsg', ''); } if (f.LblLabel && f.LblLabel.value) { myAjaxURL_LABEL = replaceParam(myAjaxURL_LABEL, 'LblLabel', encodeURIComponent(f.LblLabel.value)); sc += '&LblLabel=' + f.LblLabel.value; } else { myAjaxURL_LABEL = replaceParam(myAjaxURL_LABEL, 'LblLabel', ''); } if (f.LblCodeLng && f.LblCodeLng.options[f.LblCodeLng.selectedIndex].value) { myAjaxURL_LABEL = replaceParam(myAjaxURL_LABEL, 'LblCodeLng', encodeURIComponent(f.LblCodeLng.options[f.LblCodeLng.selectedIndex].value)); sc += '&LblCodeLng=' + f.LblCodeLng.options[f.LblCodeLng.selectedIndex].value; } else { myAjaxURL_LABEL = replaceParam(myAjaxURL_LABEL, 'LblCodeLng', ''); } myAjaxURL_LABEL = replaceParam(myAjaxURL_LABEL, 'LABEL_sc', encodeURIComponent(sc)); _grid__LABEL_js_.callAjaxForHtml(myAjaxURL_LABEL, null, null, $('input.btMassEdit:checked').length); } function doSelect(code) { var url = "<fl:webapp/>/edit_label.fl"; if (code) { url += "?msg=" + encodeURIComponent(code); window.open(url, 'edit_label', 'width=700,height=620,scrollbars=yes,resizable=yes,screenX=300,screenY=300'); } else { var f = document.forms['searchForm']; if (f.LblCodeLng && f.LblCodeLng.options[f.LblCodeLng.selectedIndex].value) { url += (url.indexOf("?") > -1 ? "&" : "?") + "LngID=" + f.LblCodeLng.options[f.LblCodeLng.selectedIndex].value; } if (f.LblLabel && f.LblLabel.value) { url += (url.indexOf("?") > -1 ? "&" : "?") + "Lbl=" + f.LblLabel.value; } window.open(url, 'edit_label', 'width=700,height=460,scrollbars=yes,resizable=yes,screenX=300,screenY=300'); } } function doSubmit() { return true; } </script> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L6106\", \"Libellés\") %>" ou="/list_label.fl"> <form name="searchForm" id="searchForm" action="javascript:doSearch();"> <table class="container" cellpadding="0"> <tr> <td class="dataLabel"> <fl:getMessage code="F2000" alt="Code"/> <input type="text" name="LblCodeMsg" id="search_LblCodeMsg" class="chpsTextAlternance" value="<%= valCode %>"/> </td> <td class="dataLabel"> <fl:getMessage code="F6002" alt="Message"/> <input type="text" name="LblLabel" id="search_LblLabel" class="chpsTextAlternance" value=""/> </td> <td class="dataLabel"> <fl:getMessage code="F303F" alt="Langue"/> <select class="chpsTextAlternance" name="LblCodeLng" id="search_LblCodeLng"> <% for (int i = 0; i < languages.size(); i++) { Vector row = (Vector)languages.elementAt(i); String lngID = (String)row.elementAt(0); String lngLabel = (String)row.elementAt(1); %> <option value="<%= Utils.formatToWeb(lngID, true) %>"><%= Utils.formatToWeb(lngLabel, false) %></option> <% } %> </select> </td> <td> <input type="image" src="<fl:webapp/>/icons/ico/valid_green2_long.gif" border="0" tabindex="999"> </td> </tr> <tr><td colspan="5" class="ligne_separation"/></tr> <tr><td colspan="5" class="ligne_separation"/></tr> </table> <div style="width: 100%"> <fl:grid name="LABEL" width="100%" height="400" ajaxUrl="/list_label_ajax.fl"> </fl:grid> </div> </form> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de