Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
...nobody




JSPWiki v2.2.33

[RSS]


Hide Menu

Sandbox


This is version 18. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]



<tr>
   <th style="vertical-align: top"><label><fmt:message
key="user.roles"/>:</label></th>
   <td>
       <spring:bind path="user.roles">
       <select name="${status.expression}" multiple="multiple"
style="width: 150px">
           <c:forEach items="${roles}" var="role">
               <c:forEach items="${status.value}" var="currentRole">
                   <c:if test="${currentRole.id == role.id}">
                       <c:set var="selected" value="true"/>
                   </c:if>
               </c:forEach>
           <option value="${role.id}"
             <c:if test="${selected}">selected="selected"</c:if>>
               ${role.name}
           </option>
           <c:remove var="selected"/>
         </c:forEach>
       </select>
       <span class="fieldError">${status.errorMessage}</span>
       </spring:bind>
   </td>
</tr>


Go to top   More info...   Attach file...
This particular version was published on 06-Nov-2006 13:52:44 MST by MattRaible.