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 / dataSources.jspf < prev    next >
Encoding:
Text File  |  2004-08-28  |  2.1 KB  |  51 lines

  1. <%-- DataSources 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.         <td width="5%"><div align="left" class="table-header-text">
  11.            
  12.         </td>
  13.       </logic:present>
  14.       <th scope="col" width="20%"><div align="left" class="table-header-text">
  15.         <bean:message key="resources.datasrc.jndi"/>
  16.       </div></th>
  17.       <th scope="col"><div align="left" class="table-header-text">
  18.         <bean:message key="resources.datasrc.jdbcclass"/>
  19.       </div></th>
  20.     </tr>
  21.  
  22.     <logic:iterate name="dataSourcesForm" property="dataSources"
  23.                      id="dataSource" 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.             <label for="dataSources"></label>
  28.             <input type="checkbox" name="dataSources"
  29.                   value="<%= dataSource %>" styleId="dataSources">
  30.           </td>
  31.         </logic:present>
  32.         <td scope="row"><div align="left" class="table-normal-text">
  33.           <html:link page='<%= "/resources/setUpDataSource.do?objectName=" + 
  34.                                URLEncoder.encode(dataSource) + "&resourcetype=" +
  35.                                URLEncoder.encode(resourcetypeInfo) + "&path="+
  36.                                URLEncoder.encode(pathInfo) + "&host="+
  37.                                URLEncoder.encode(hostInfo) + "&domain="+
  38.                                URLEncoder.encode(domainInfo)  %>'>
  39.             <controls:attribute name="dataSource" attribute="name"/>
  40.           </html:link>
  41.         </div></td>
  42.         <td scope="row"><div align="left" class="table-normal-text"> 
  43.           <controls:attribute name="dataSource" attribute="driverClassName"/>
  44.         </div></td>
  45.       </tr>
  46.     </logic:iterate>
  47.  
  48.   </table>
  49.  
  50. </td></tr></table>
  51.