Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\actor\read_action.jsp
<%@page session="true" import="com.edeal.frontline.*"%><%@ page import="com.edeal.frontline.navigation.FlRequest" %><%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.ActorBean" id="Actor" scope="request"/> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); DataDictionary dico = flRequest.getContext().getDataDictionary(); String id; String actEmpStaCode = null; try { id = Actor.getID(); } catch (FieldNotInitializedException e) { id = null; } String actEmpStaID = null; try { actEmpStaID = Actor.getActEmpSta(); } catch (FieldNotInitializedException e) { } if(actEmpStaID != null && !"".equals(actEmpStaID)){ try { actEmpStaCode = dico.getRefCode("ActEmpSta", actEmpStaID); } catch (FrontlineException e){ } } %> <script language="javascript"> function doDelete() { if (window.confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>') == true) { window.location = '<fl:link url="<%= \"/delete_actor.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function doActivateMobile() { window.open("<fl:link url="/mobile_activation.fl"/>", "<fl:getMessage code="L828A" alt="Activation de l'application mobile"/>", "width=1000,height=300,resizable=yes"); } </script> <fl:access operation="edit" name="Actor"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/edit_actor.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="A0008" alt="Modifier"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <% if(actEmpStaCode != null && !"INACTIF".equals(actEmpStaCode)){ %> <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 list="true" url="<%= \"/disable_actor.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="L826B" alt="Désactiver"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <%} %> </fl:access> <fl:access operation="delete" name="Actor"> <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="javascript:doDelete();"> <p class="actions_tabletext"><fl:getMessage code="A0007" alt="Supprimer"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> </fl:access> <fl:access operation="create" name="Actor"> <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 url="<%= \"/duplicate_actor.fl\" + (id != null? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="L2089" alt="Acteur"/> +</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> --> </fl:access> <%-- Mantis 24657: Activation E deal ? <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <p class="actions_tabletext"> <edLink edtooltip='{"content": {"text":"<fl:getMessage code="L828A" alt="Activation Smartphone" js="true"/>"}}' values="<fl:getMessage code="L828A" alt="Activation Smartphone"/>" target="DIALOG" url='mobile_activation.fl' options='{"id":"smartphoneActivationDialog", "title":"<fl:getMessage code="L828A" alt="Activation Smartphone" js="true"/>", "width":"300", "height":"200", "resizable": "false", "draggable": "false", "modal": "true" }' ><a><fl:getMessage code="L828A" alt="Activation Smartphone"/></a></edLink> </p> </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="javascript:affectActorToEnterprisesByActFunctionCode();"> <p class="actions_tabletext"><fl:getMessage code="MF205" alt="Affecter aux tiers"/></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