daily pastebin goal
74%
SHARE
TWEET

Datatable definition

a guest Mar 12th, 2011 145 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <h:head>
  2.      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  3. </h:head>
  4.  
  5. <h:body>
  6.         <h:form id="form">
  7.         <rich:dataTable id="itemlist"
  8.                         value="#{itemModel}" var="item"
  9.                         rows="10">
  10.  
  11.                 <rich:column id="id">
  12.                         <f:facet name="header">ID</f:facet>
  13.                         <h:outputText value="#{item.id}"/>
  14.                 </rich:column>
  15.                 <rich:column id="title">
  16.                         <f:facet name="header">Name</f:facet>
  17.                         <h:outputText value="#{item.name}"/>
  18.                 </rich:column>
  19.  
  20.         </rich:dataTable>
  21.         <rich:dataScroller id="itemlistscroller" for="itemlist"/>
  22.         </h:form>
  23. </h:body>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand