Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\snapshotdisplay\list_action.jsp
<%@ page session="true"%> <%@ page import="com.edeal.frontline.navigation.*"%> <%@ page import="com.edeal.frontline.*"%> <%@ page import="com.edeal.frontline.helper.custom.*"%> <%@ page import="java.util.Hashtable"%> <jsp:useBean id="List" class="com.edeal.frontline.ListBean" scope="request" /> <%@ 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(); String objSql = flRequest.getRequestParameterOrAttribute("objsql"); String lc = flRequest.getRequestParameterOrAttribute("lc"); String pPhone = null; if (lc != null && lc.equals("ENTSEARCH")){ pPhone = flRequest.getSearchCriteria("EntPhone"); } else if (lc != null && lc.equals("PERSEARCH")){ pPhone = flRequest.getSearchCriteria("PerPhone"); } ListBean.ActionsMenu actionsMenu = List.getActionsMenu(); Hashtable variables = new Hashtable(); variables.put("objSql", objSql); EdealBigTabsNavigation bTabNav = new EdealBigTabsNavigation(flRequest); String jsGridObject=bTabNav.getBigTabsParameterValue(EdealBigTabsNavigation.BigTabsParams.NameSearchGridJs); boolean fHasCreationRight=true; DataDictionary dico=context.getDataDictionary(); //Get the object which the list is attached to, and check if the session actor is allowed to create such an object ObjectsBean object=dico.getTable("ID",List.getLstObjID()); BasicBean bean=object.getBasicBean(null,session); fHasCreationRight=bean.enforceAccess(AccessControlManager.CREATE); %> <script language="javascript"> </script> <% if ((actionsMenu==null || actionsMenu.canCreate()) && fHasCreationRight) { %> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link menu="true" list="false" url="<%= \"/create_\"+ objSql + \".fl\" %>"/>"> <p class="actions_tabletext"> <fl:getMessage code="A3057" alt="Créer" /> </p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link menu="true" list="false" url="<%= \"/create_\"+ objSql + \"_mt.fl\" %>"/>"> <p class="actions_tabletext"> <fl:getMessage code="XXXX" alt="Créer un tableau concaténé" /> </p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <% } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de