Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
- xmlns:h="http://xmlns.jcp.org/jsf/html"
- xmlns:f="http://xmlns.jcp.org/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:fn="http://java.sun.com/jsp/jstl/functions">
- <h:head>
- <title>Richfaces DataTable Filter Example</title>
- </h:head>
- <ui:composition template="/template/layout.xhtml">
- <ui:define name="content">
- <rich:panel header="Header">
- <rich:dataTable value="#{userBean.userList}" var="u">
- <rich:column><f:facet name="header">ID</f:facet>#{u.userID}</rich:column>
- <rich:column><f:facet name="header">Name</f:facet>#{u.name}</rich:column>
- </rich:dataTable>
- </rich:panel>
- </ui:define>
- </ui:composition>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement