zoukankan      html  css  js  c++  java
  • <c:forEach <c:forTokens

     <c:if test="${roleStr!='' }">
      <c:forEach items="${flowList}" var="l">
      <c:if test="${l.businessName=='银企对账' }">
        <input type="text" name="insertRole" id="insertRole" style="display:none">
        <c:forEach items="${roleList}" var="r">
         <c:set var="isGet" value="0"/>
         <c:forTokens var="token" items="${l.flowSerial }" delims=";">
          <c:if test="${r.roleId==token}">
            <c:set var="isGet" value="1"/>
          </c:if>
               </c:forTokens>
               <c:if test="${isGet=='1' }">
                <input type="checkbox" name="operatorRole" value="${r.roleId}"  onclick="insertRoleStr(this);" checked="checked">${r.roleName}    &nbsp;&nbsp;
         </c:if> 
               <c:if test="${isGet=='0' }">
                <input type="checkbox" name="operatorRole" value="${r.roleId}"  onclick="insertRoleStr(this);">${r.roleName}&nbsp;&nbsp;    
               </c:if>            
        </c:forEach>     
         </c:if> 
     </c:forEach>
     </c:if> 

  • 相关阅读:
    Jzoj1307 Jail
    Jzoj1307 Jail
    Jzoj1306 Sum
    Jzoj1306 Sum
    Jzoj1279 解题
    Jzoj1279 解题
    Jzoj1277最高的奶牛
    Jzoj1277最高的奶牛
    Jzoj1155 有根树的同构(树的Rabin-Karp)
    Jzoj1155 有根树的同构(树的Rabin-Karp)
  • 原文地址:https://www.cnblogs.com/yangy608/p/2282007.html
Copyright © 2011-2022 走看看