Edit C:\galaxie\Back\galaxie\sales\interaction\availability_ajax.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" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Date" %> <%@ page import="com.edeal.frontline.Utils" %> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); int[][] status = (int[][])flRequest.getAttribute("availability"); Vector dates = (Vector)flRequest.getAttribute("dates"); for (int i = 0; i < dates.size(); i++) { %>dates[<%= i %>] = '<%= Utils.formatToWebDate(session, (Date)dates.elementAt(i), true) %>'; <% } %> avStatus = new Array(<%= status.length %>); <% for (int i = 0; i < status.length; i++) { %> avStatus[<%= i %>] = new Array(<%= status[i].length %>); <% } for (int i = 0; i < status.length; i++) { for (int j = 0; j < status[i].length; j++) { %> avStatus[<%= i %>][<%= j %>] = <%= status[i][j] %>; <% } } %> redraw();
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de