2 ~ Copyright 2005-2006 The Codehaus.
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
8 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
17 <%@ taglib prefix="s" uri="/struts-tags"%>
18 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
21 <s:i18n name="org.codehaus.plexus.redback.struts2.default">
23 <title><s:text name="resource.list.page.title"/></title>
28 <%@ include file="/WEB-INF/jsp/redback/include/rbacListNavigation.jsp" %>
30 <h2><s:text name="resource.list.section.title"/></h2>
32 <%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
34 <s:form action="resources!remove" method="post" theme="simple">
39 <c:when test="${!empty allResources}">
43 <th><s:text name="name"/></th>
44 <th><s:text name="description"/></th>
48 <c:forEach var="resource" items="${allResources}">
51 <s:checkbox name="selectedResources" fieldValue="%{resource.identifier}" />
54 <s:url id="resourceUrl" action="resource-edit">
55 <s:param name="resourceIdentifier">${resource.identifier}</s:param>
57 <s:a href="%{resourceUrl}"><c:out value="${resource.identifier}" /></s:a>
60 <c:out value="${resource.pattern}" />
66 <p><em><s:text name="resource.list.no.resources.available"/></em></p>
72 <s:submit value="%{getText('remove.selected.roles')}" />