blob: c68af2c2db474ac9b4f8be44fe59a16b5f5d10ba [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<%-- Env Entries List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<td width="5%"><div align="left" class="table-header-text">
&nbsp;
</td>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="service.name"/>
</div></th>
<%--
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="resources.userdb.location"/>
</div></th>
--%>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="users.list.description"/>
</div></th>
</tr>
<logic:iterate name="userDatabasesForm" property="userDatabases"
id="userDatabase" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<logic:match name="userDatabase"
value="name=UserDatabase">
<font color='red'>*</font>
</logic:match>
<logic:notMatch name="userDatabase"
value="name=UserDatabase">
<label for="userDatabases"></label>
<html:multibox property="userDatabases"
value="userDatabase" styleId="userDatabases"/>
</logic:notMatch>
<!--input type="checkbox" name="userDatabases"
value="<%= userDatabase %>" styleId="userDatabases"-->
</td>
</logic:present>
<td scope="row"><div align="left" class="table-normal-text">
<html:link page='<%= "/resources/setUpUserDatabase.do?objectName=" +
URLEncoder.encode(userDatabase,"UTF-8") + "&domain=" +
URLEncoder.encode(domainInfo,"UTF-8") %>'>
<controls:attribute name="userDatabase" attribute="name"/>
</html:link>
</div></td>
<%-- FIX ME -- commentred out for now as the page was looking too crowded.
<td scope="row"><div align="left" class="table-normal-text">
<controls:attribute name="userDatabase" attribute="pathname"/>
</div></td>
--%>
<td scope="row"><div align="left" class="table-normal-text">
<controls:attribute name="userDatabase" attribute="description"/>
</div></td>
</tr>
</logic:iterate>
</table>
</td></tr></table>