rolepermissioncrud.jsp
来自「一个很好的开源项目管理系统源代码」· JSP 代码 · 共 88 行
JSP
88 行
<%@ include file="../includes/taglibs.jsp" %><form name="appForm" action="rolePermissionCrud.do" method="post"><input type="hidden" name="dispatch" value=""><input type="hidden" name="_txToken" value="<%=session.getAttribute("txToken") %>"> <%@ include file="../includes/crumbs.jsp" %> <div id="buttonBar" > <%@ include file="../includes/oneToManyCrudButtonBar.jsp" %> </div> <input type="hidden" name="collectionIdx"/> <input type="hidden" name="targetPropertyNameForValue"/> <input type="hidden" name="subFlow"/> <spring:nestedPath path="command"> <div id="crud"> <div id="master"> <table> <tr> <td class="label"> <spring:message code="roleCd"/>: </td> <td> <html:hidden path="version"/> <html:text path="roleCd" size="30" maxlength="30" readonly="true" styleClass="readonlyField"/> </td> </tr> <tr> <td class="label"> <spring:message code="description"/>: </td> <td> <html:text path="description" size="80" maxlength="80" readonly="true" styleClass="readonlyField"/> </td> </tr> </table> </div> <%@ include file="../includes/addRowButton.jsp" %> <div id="detail"> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th><spring:message code="rowNo" /> </th> <th class="nowrap"><spring:message code="rowAction" /> </th> <th class="required"><spring:message code="targetCd" />*</th> <th class="required"><spring:message code="operationCd" />*</th> <th><spring:message code="lastModifiedBy" /></th> <th><spring:message code="lastModifiedTs" /></th> </tr> </thead> <tbody> <jsp:useBean id="rowHelper" class="net.java.workeffort.infrastructure.view.RowHelper" /> <c:forEach varStatus="loop" items="${command.rolePermission}"> <spring:bind path="rolePermission[${loop.index}].processType" > <c:set target="${rowHelper}" property="processType" value="${status.value}"/> <c:set target="${rowHelper}" property="processTypePath" value="rolePermission[${loop.index}].processType"/> </spring:bind> <tr class="<c:out value='${rowHelper.rowCss}' />" > <td> <c:out value="${loop.index+1}" /> </td> <td class="nowrap"> <%@ include file="../includes/insertDeleteIgnore.jsp" %> <%-- Take care of the delete checkbox. see WebDataBinder.setFieldMarkerPrefix(). --%> <input type="hidden" name="_rolePermission[<c:out value="${loop.index}"/>].processType"/> </td> <td nowrap> <html:hidden path="rolePermission[${loop.index}].version"/> <workeffort:selectValueFlow path="rolePermission[${loop.index}].targetCd" size="40" maxlength="40" readonly='${rowHelper.keyReadonly}' styleClass='${rowHelper.keyCss}' onclick="startFlowSetValue(this.form, ${loop.index}, 'targetCd', '/targetSearch.do')" /> </td> <td nowrap> <workeffort:selectValueFlow path="rolePermission[${loop.index}].operationCd" size="40" maxlength="40" readonly='${rowHelper.keyReadonly}' styleClass='${rowHelper.keyCss}' onclick="startFlowSetValue(this.form, ${loop.index}, 'operationCd', '/operationSearch.do')" /> </td> <td> <html:text path="rolePermission[${loop.index}].lastModifiedBy" size="10" readonly='true' styleClass='readonlyField' /> </td> <td> <html:text path="rolePermission[${loop.index}].lastModifiedTs" size="10" readonly='true' styleClass='readonlyField' /> </td> </tr> </c:forEach> </tbody> </table> </div> </div> </spring:nestedPath></form>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?