This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display data in columns

 
sreeni san
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following code to display a list of users. The requirement is to display the user names in 3 columns. Please let me know how can this be done.

<ui:repeat value="${userBean.user}" var="usrId">
<b><hutputText value="#{usrId.name}"/> </b>
</ui:repeat>

Thanks,
Sreeni
 
Bindesh Nair
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sreeni

Use a panelGroup with 3 cols and drop a outputText component binded to the userBean.name property.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic