Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\wall\userconfig\editform.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"%> <jsp:useBean class="com.edeal.frontline.WallUserConfigBean" id="WallUserConfig" scope="request"/> <script type="text/javascript" language="javascript"> function doRefresh(i){ var checkboxInput = $("input[name='WucSe2IdCheckbox"+i+"']")[0]; var wucse2idField = $("select[name='WucSe2Id"+i+"']")[0]; if(checkboxInput.checked){ wucse2idField.hidden = false; wucse2idField.disabled = false; wucse2idField.style.display = ""; } else { wucse2idField.hidden = true; wucse2idField.disabled = true; wucse2idField.style.display = "none"; } } </script> <div style="width:100%"> <ul style="padding:0px;list-style-type: none;"> <c:set var="i" value="1" scope="page"/> <c:forEach var="WallUserConfigItem" items="${requestScope.wucBeans}"> <c:set var="WallUserConfig" value="${WallUserConfigItem}" scope="request"/> <input name="WucIdObj${i}" type="hidden" value="<fl:getProperty name="WallUserConfig" property="WucTypObj" alt="sdf"/>"> <li style="float:left; width:50%;"> <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:getProperty name="WallUserConfig" property="WucTypObj" alt="" bean="true"/> </legend> <table class="container" cellpadding="0"> <tr class="fieldline"> <td id="wucBoolActCheckbox${i}"> <c:if test="${WallUserConfig.wucBoolAct}"> <input type="checkbox" class="checkbox" id="WucBoolAct${i}" name="WucBoolAct${i}" checked > </c:if> <c:if test="${!WallUserConfig.wucBoolAct}"> <input type="checkbox" class="checkbox" id="WucBoolAct${i}" name="WucBoolAct${i}"> </c:if> <span style="font-size: 11px; font-family: Arial, Verdana, sans-serif; font-style: italic"> <fl:getMessage code="L81A5" alt="Suivre les objets où jâ??apparais en tant qu'acteur"/> </span> </td> </tr> <c:if test="${! empty requestScope.possibleSelection[WallUserConfig] }"> <tr class="fieldline"> <td id="wucSe2IdCheckbox_value${i}" class="dataValue" style="vertical-align: bottom;height: 24px;"> <c:set var="idselect" value=""/> <c:catch> <c:set var="selectVisible" value="none"/> <c:if test="${WallUserConfig.wucSe2Id != null}"> <c:set var="idselect" value="checked"/> <c:set var="selectVisible" value=""/> </c:if> </c:catch> <input type="checkbox" class="checkbox" id="WucSe2IdCheckbox${i}" name="WucSe2IdCheckbox${i}" ${idselect} onchange="doRefresh(${i})"> <span style="font-size: 11px; font-family: Arial, Verdana, sans-serif; font-style: italic"> <fl:getMessage code="L81A6" alt="Suivre les objets correspondant au ciblage" /> </span> <c:catch> <c:set var="wucID" value="${WallUserConfig.wucID}" /> </c:catch> <select id="WucSe2Id${i}" name="WucSe2Id${i}" style="display:${selectVisible}; margin:0px;"> <option></option> <c:forEach items="${requestScope.possibleSelection[WallUserConfig]}" var="sel2"> <c:set var="idselect" value=""/> <c:catch> <c:if test="${WallUserConfig.wucSe2Id == sel2.Se2ID}"> <c:set var="idselect" value="selected"/> </c:if> </c:catch> <option value="${sel2.Se2ID}" ${idselect}>${sel2.Se2Name}</value> </c:forEach> </select> </td> </tr> </c:if> </table> </fieldset> </li> <c:set var="i" value="${i+1}" scope="page"/> </c:forEach> </ul> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de