This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes Display data in columns Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Display data in columns" Watch "Display data in columns" New topic
Author

Display data in columns

sreeni san
Ranch Hand

Joined: Aug 14, 2001
Posts: 39
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

Joined: Oct 09, 2007
Posts: 12
Hello Sreeni

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

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display data in columns
 
Similar Threads
Passing user defined objects as request parameter in JSF
Looping in JSF
Parameters not passed into the s:link
dataTable with dynamic number of rows and columns
Problem with a h:panelGrid and a ui:repeat