Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\wall\target\edit_groupactor.jsp
<%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%@ page isELIgnored="false"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <script type="text/javascript" language="javascript"> function addTarget(idActorArr, callback){ if (idActorArr[0]) { $.ajax({ data: {objType: "GroupActor", objId:idActorArr[0]}, type: this.type, url: '<fl:webapp/>/add_groupactor.fl', context: this, timeout: 20000, dataType: "json", async: true, success: function(data, textStatus, jqXHR) { idActorArr.shift(); addTarget(idActorArr, callback); } }); } else { if (callback) { callback(); } } } function removeTarget(idActorArr, callback){ if (idActorArr[0]) { $.ajax({ data: {objType: "GroupActor", objId : idActorArr[0]}, type: this.type, url: '<fl:webapp/>/delete_target.fl', context: this, timeout: 20000, dataType: "json", async: true, success: function(data, textStatus, jqXHR) { idActorArr.shift(); removeTarget(idActorArr, callback); } }); } else { if (callback) { callback(); } } } function refreshOriginalIds() { originalWtaObjID = []; originalWtaObjID = $("#WtaObjID").val().split(";"); eval($("#evalWtaObjID").val()); $("#evalWtaObjID").val(""); } function doWtaObjIDChange() { var newIds = $("#WtaObjID").val().split(";"); disableSelectImg(); removeTarget(originalWtaObjID, function() {addTarget(newIds, function() {refreshOriginalIds(); enableSelectImg();})}); } function disableSelectImg() { $("img", $("#selectImg")).attr("src", edApplication().path + "icons/dico-loader.gif"); $("#selectImg").attr("hrefbackup", $("#selectImg").attr("href")); $("#selectImg").attr("href", "javascript:void(0)"); } function enableSelectImg() { $("img", $("#selectImg")).attr("src", edApplication().path + "icons/ico/rechercher.gif"); $("#selectImg").attr("href", $("#selectImg").attr("hrefbackup")); } var originalWtaObjID = []; $(document).ready(function() { var selectInput = $("#lblWtaObjID")[0]; var originalIds = ""; for (var i=0; i<selectInput.options.length;i++) { if (i>0) { originalIds += ";"; } originalIds += selectInput.options[i].value; originalWtaObjID.push(selectInput.options[i].value); } $("#WtaObjID").val(originalIds); }); </script> <div style="width:100%"> <table class="container" cellpadding="0" cellspacing="0"> <tr> <td> <fieldset style="border-radius: 8px 8px 8px 8px;" class="fieldset" id="fsetdest"> <legend style="color: black; font-size: 1em; font-weight: bold; padding: 0.2em 0.5em;"> <fl:getMessage code="L8263" alt="Sélectionnez les acteurs dont vous souhaitez voir les commentaires"/> </legend> <input type="hidden" id="WtaObjID"/> <input type="hidden" id="evalWtaObjID"/> <select disabled="disabled" multiple id="lblWtaObjID" name="lblWtaObjID" style="size: 30; width:250px;" value="<fl:getMessage code="" alt="" js="true" />" autocomplete="off"> <options> <c:forEach var="GroupActorItem" items="${requestScope.targets}"> <c:set var="GroupActor" value="${GroupActorItem}" scope="request"/> <c:catch> <option value="${GroupActor.actor.actID}">${GroupActor}</option> </c:catch> </c:forEach> </options> </select> <a id="selectImg" href="javascript:var win = window.open('<fl:webapp/>/select_multiple.fl?type=Actor&field=WtaObjID&formIndex=0', 'SelectActor', 'menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes,width=500,height=520')"> <img src="<fl:webapp/>/icons/ico/rechercher.gif" alt="<fl:getMessage code="A2003" alt="Sélectionner"/>" class="icon" border="0"></a> </fieldset> </td> </tr> </table> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de