Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 7th, 2012  |  syntax: None  |  size: 0.44 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.                 <t:dataList value="#{myBean.pages}" var="page">
  2.                     <h:commandLink value="#{page}" actionListener="#{myBean.page}"
  3.                         rendered="#{page != myBean.currentPage}" />
  4.                     <h:outputText value="<b>#{page}</b>" escape="false"
  5.                         rendered="#{page == myBean.currentPage}" />
  6.                 </t:dataList>
  7.  
  8.  
  9.                 <t:saveState value="#{myBean}" />