File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
Looping in JSF
dataTable with dynamic number of rows and columns
Passing user defined objects as request parameter in JSF
Parameters not passed into the s:link
Problem with a h:panelGrid and a ui:repeat