workassociationcrud.jsp

来自「一个很好的开源项目管理系统源代码」· JSP 代码 · 共 84 行

JSP
84
字号
<%@ include file="../includes/taglibs.jsp" %><form name="appForm" action="workAssociationCrud.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" >    <c:if test='${viewHelper.updateable}' >      <%@ include file="../includes/oneToManyCrudButtonBar.jsp" %>      <c:url var="url" value="/workAssociationHierarchy.do?workId=${command.workId}&amp;crumbsEnabled" />      <workeffort:secureLink href="${url}" permissions="net.java.workeffort.SECURITY_PROFILE">        <spring:message code="workAssociationHierarchy.link" /></workeffort:secureLink>    </c:if>  </div>  <spring:nestedPath path="command">    <div id="crud">      <div id="master">        <table>          <tr>            <td class="label">              <spring:message code="workId"/>:            </td>            <td>              <html:hidden path="version"/>              <html:text path="workId" size="30" maxlength="30" readonly="true" styleClass="readonlyField"/>            </td>          </tr>          <tr>            <td class="label">              <spring:message code="name"/>:            </td>            <td>              <html:text path="name" 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="workId" />*</th>              <th class="required"><spring:message code="workAssociationTypeCd" />*</th>            </tr>          </thead>          <tbody>            <jsp:useBean id="rowHelper" class="net.java.workeffort.infrastructure.view.RowHelper" />            <c:forEach varStatus="loop" items="${command.workAssociation}">              <spring:bind path="workAssociation[${loop.index}].processType" >                <c:set target="${rowHelper}" property="processType" value="${status.value}"/>                <c:set target="${rowHelper}" property="processTypePath" value="workAssociation[${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="_workAssociation[<c:out value="${loop.index}"/>].processType"/>                </td>                <td>                  <html:hidden path="workAssociation[${loop.index}].version"/>                  <html:select path="workAssociation[${loop.index}].workId" disabled="${rowHelper.keyReadonly}" styleClass="${rowHelper.keyCss}" >                    <html:options items="${getCachedWorkLov}"                    value="value" label="label" selected="${command.workAssociation[loop.index].workId}"/>                  </html:select>                </td>                <td>                  <html:select path="workAssociation[${loop.index}].workAssociationTypeCd" disabled="${rowHelper.keyReadonly}" styleClass="${rowHelper.keyCss}" >                    <html:options items="${getCachedWorkAssociationTypeLov}"                    value="value" label="label" selected="${command.workAssociation[loop.index].workAssociationTypeCd}"/>                  </html:select>                </td>              </tr>            </c:forEach>          </tbody>        </table>      </div>    </div>  </spring:nestedPath></form>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?