aspose file tools*
The moose likes JSF and the fly likes Display data in columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
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
Problem with a h:panelGrid and a ui:repeat
Parameters not passed into the s:link
dataTable with dynamic number of rows and columns
Looping in JSF