<%@ 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"%> <%@ 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); %> <% if ((actionsMenu==null || actionsMenu.canCreate()) && fHasCreationRight) { %>
"/>">

"/>">

<% } %>