Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\manager_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); %> <script language="javascript"> var dicoSelected = false; function reloadSelectedObjects(){ hideLoaders(); if($("#dico").get(0).checked == true){ dicoSelected = true; doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='dico']:checked").val(), dicoCallback); showLoader("#dicoLoader"); } hideWaiting(); if(!dicoSelected){ checkIfOthersAreSelected(); } } function dicoCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#dicoLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#dicoLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } dicoSelected = false; checkIfOthersAreSelected(); } } function optionCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#optionLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#optionLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function autodisplayCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#autodisplayLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#autodisplayLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function menuCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#menuLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#menuLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function listCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#listLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#listLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function licenceCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#licenceLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#licenceLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function messageCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#messageLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#messageLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function historyCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#historyLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#historyLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function flServiceCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#flServiceLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#flServiceLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function enmCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#enmLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#enmLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function accessCMgrCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#accessCMgrLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#accessCMgrLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function workflowMgrCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#workflowMgrLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#workflowMgrLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function wallMgrCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { if($.trim(eDealXmlhttpArr[arrIndex].responseText) == "OK"){ $("#wallMgrLoader").attr("src","<fl:webapp/>/js/progressbar/images/success.png"); }else{ $("#wallMgrLoader").attr("src","<fl:webapp/>/js/progressbar/images/failure.png"); } } } function showLoader(name){ $(name).attr("src","<fl:webapp/>/icons/dico-loader.gif"); $(name).show(); } function checkIfOthersAreSelected(){ if($("#option").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='option']:checked").val(), optionCallback); showLoader("#optionLoader"); } if($("#autodisplay").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='autodisplay']:checked").val(), autodisplayCallback); showLoader("#autodisplayLoader"); } if($("#menudc").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='menudc']:checked").val(), menuCallback); showLoader("#menuLoader"); } if($("#list").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='list']:checked").val(), listCallback); showLoader("#listLoader"); } if($("#licence").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='licence']:checked").val(), licenceCallback); showLoader("#licenceLoader"); } if($("#message").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='message']:checked").val(), messageCallback); showLoader("#messageLoader"); } if($("#history").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='history']:checked").val(), historyCallback); showLoader("#historyLoader"); } if($("#flService").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='flService']:checked").val(), flServiceCallback); showLoader("#flServiceLoader"); } if($("#enm").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='enm']:checked").val(), enmCallback); showLoader("#enmLoader"); } if($("#accessCMgr").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='accessCMgr']:checked").val(),accessCMgrCallback); showLoader("#accessCMgrLoader"); } if($("#workflowMgr").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='workflowMgr']:checked").val(),workflowMgrCallback); showLoader("#workflowMgrLoader"); } if($("#wallMgr").get(0).checked == true){ doAjax("<fl:webapp/>/reload_selected_object.fl?object=" + $("input[name='wallMgr']:checked").val(), wallMgrCallback); showLoader("#wallMgrLoader"); } hideWaiting(); } </script> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:reloadSelectedObjects()"> <p class="actions_tabletext"><fl:getMessage code="L702C" alt="Recharger description"/></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