<%-- Copyright (C) 2005 Alfresco, Inc. Licensed under the Mozilla Public License version 1.1 with a permitted attribution clause. You may obtain a copy of the License at http://www.alfresco.org/legal/license.txt 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. --%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ page isELIgnored="false" %> <%-- load a bundle of properties I18N strings here --%>

UserList Test

<%-- use JSTL as simple example way to list the users --%> <%-- TODO: find out how to get this working - currently it can't find the JSF bean in the session scope. Using useBean tag creates a new copy --%> <%----%> <%--
  1. Username: ${u.username}, Name: ${u.name}, Roles: ${u.roles}

--%> <%-- example of using a JSF DataTable to list the users --%> <%-- iterates around the List of User objects in the UserListBean --%> JSF dataTable component test.
<%-- NOTE: You cannot insert plain HTML text here, due to the way that some JSF components are architected, the plain HTML would get displayed before the body of the datatable tag is output. This is also true of the other container tags including 'panel'. The datatable is considerably inferior to our portal data tags or even the freely available 'displaytag' tag library --%> <%-- You can also use the nasty 'f:verbatim' tag to wrap any non JSF elements --%> <%-- example of a DateTime converter --%> <%-- can be used to convert both input and output text --%> <%-- inline command link - has an action listener which will decode which item in the grid it was clicked using the param tag below Then the action listener will delegate to the action view --%>