home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / groups.jspf < prev    next >
Encoding:
Text File  |  2004-08-28  |  2.2 KB  |  55 lines

  1. <%-- Groups List --%>
  2.  
  3. <table class="back-table" border="0" cellspacing="0" cellpadding="1"
  4.        width="100%"><tr><td> 
  5.  
  6.   <table class="front-table" border="1"
  7.    cellspacing="0" cellpadding="0" width="100%">
  8.     <tr class="header-row">
  9.       <logic:present name="checkboxes">
  10.         <th scope="col" width="5%"><div align="left" class="table-header-text">
  11.            
  12.         </th>
  13.       </logic:present>
  14.       <th scope="col" width="20%"><div align="left" class="table-header-text">
  15.         <bean:message key="users.list.groupname"/>
  16.       </div></th>
  17.       <th scope="col"><div align="left" class="table-header-text">
  18.         <bean:message key="users.list.description"/>
  19.       </div></th>
  20.     </tr>
  21.     <logic:present name="groupsForm">
  22.     <logic:iterate name="groupsForm" property="groups"
  23.                      id="group" type="java.lang.String">
  24.       <tr class="line-row">
  25.         <logic:present name="checkboxes">
  26.           <td scope="row"><div align="center" class="table-normal-text">
  27.             <logic:present name="userForm">
  28.              <label for="groups"></label>
  29.               <html:multibox property="groups" value="<%= group %>" styleId="groups"/>
  30.             </logic:present>
  31.             <logic:notPresent name="userForm">
  32.               <label for="groups"></label>
  33.               <input type="checkbox" name="groups"
  34.                     value="<%= group %>" styleId="groups">
  35.             </logic:notPresent>
  36.           </td>
  37.         </logic:present>
  38.         <td scope="row"><div align="left" class="table-normal-text"> 
  39.           <html:link page='<%= "/users/setUpGroup.do?objectName=" + 
  40.                                URLEncoder.encode(group) +
  41.                                "&databaseName=" +
  42.                                URLEncoder.encode(request.getParameter("databaseName")) %>'>
  43.             <controls:attribute name="group" attribute="groupname"/>
  44.           </html:link>
  45.         </div></td>
  46.         <td scope="row"><div align="left" class="table-normal-text"> 
  47.           <controls:attribute name="group" attribute="description"/>
  48.         </div></td>
  49.       </tr>
  50.     </logic:iterate>
  51.     </logic:present>
  52.   </table>
  53.  
  54. </td></tr></table>
  55.