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 prefix="redback" uri="/redback/taglib-1.0"%>
19 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
22 <s:i18n name="org.codehaus.plexus.redback.struts2.default">
24 <title><s:text name="role.list.page.title"/></title>
29 <!-- %@ include file="/WEB-INF/jsp/redback/include/rbacListNavigation.jsp" % -->
31 <h2><s:text name="role.list.section.title"/></h2>
33 <%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
38 <c:when test="${!empty allRoles}">
41 <th width="49%"><s:text name="role.name"/></th>
42 <th width="49%"><s:text name="role.description"/></th>
46 <c:forEach var="role" items="${allRoles}">
49 <s:url id="roleUrl" action="role">
50 <s:param name="name">${role.name}</s:param>
52 <s:a href="%{roleUrl}"><c:out value="${role.name}" /></s:a>
55 <c:out value="${role.description}" />
61 <p><em><s:text name="role.list.no.roles.available"/></em></p>