Edit C:\galaxie\Back\galaxie\sales\person\bar.jsp
<%@ page language="java" contentType="text/plain;charset=UTF-8"%><% /****************************************************************************** * Copyright (c) 2000-2005 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 import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.controller.actions.GetListFunctionsAction" %> <%@ page import="com.edeal.frontline.helper.MultifunctionHelper" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="java.util.*" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %><% FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); LinkedHashMap<String, Hashtable> functions = (LinkedHashMap<String, Hashtable>) flRequest.getAttribute(GetListFunctionsAction.VECT_FCT); if (functions == null) { functions = new LinkedHashMap<String, Hashtable>(); } String currentID = (String) flRequest.getAttribute(GetListFunctionsAction.CURRENT_ID); String parentID = (String) flRequest.getAttribute(GetListFunctionsAction.PARENT_ID); //#DD3300 %> <script type= "text/javascript">/*<![CDATA[*/ $(function(){ //Get our elements for faster access and set overlay width var div = $('#function_bar'), ul = $('#function_bar ul'), ulPadding = 1; //Get menu width var divWidth = div.width(); //Remove scrollbars div.css({overflow: 'hidden'}); //Find last image container var lastLi = ul.find('li:last-child'); //When user move mouse over menu div.mousemove(function(e){ //As images are loaded ul width increases, //so we recalculate it each time var ulWidth = lastLi[0].offsetLeft + lastLi.outerWidth() + ulPadding; var left = (e.pageX - div.offset().left) * (ulWidth-divWidth) / divWidth; div.scrollLeft(left); }); }); /*]]>*/</script> <ul id="sortlist" class="sc_menuc"> <% if(functions.entrySet().size() > 1){ Iterator<?> it = functions.entrySet().iterator(); while (it.hasNext()) { Map.Entry<?, ?> entry = (Map.Entry<?, ?>) it.next(); String perID = (String) entry.getKey(); Hashtable information = (Hashtable) entry.getValue(); String ent = null; String title = null; ent = (String)information.get(MultifunctionHelper.ENTERPRISE_NAME); if (!Utils.isEmpty(ent)) { title = (String)information.get(MultifunctionHelper.TITLE_NAME); title = title != null ? title : "<span style=\"font-style: italic;\">" + Utils.getMessage(session, "L8147", "Inconnu") + "</span>"; } else { ent = Utils.getMessage(session, "L8148", "Particulier"); title = (String)information.get(MultifunctionHelper.CITY_NAME); } %> <li id="<%= perID %>" style="background-color : <%= (perID.equals(currentID) ? "#92BBFF" : "#e4efff") %>"> <a href="<%= flRequest.computeURL("/read_person_consolidated.fl?id=" + perID) %>" style="color : black"><b><%= ent %></b></a> <br/><a href="<%= flRequest.computeURL("/read_person_consolidated.fl?id=" + perID) %>" style="color : black"><%= title %></a> </li> <% } } %> </ul>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de