Hi.
I am making a web-shopesque application in
JSF. I was getting along quite good but now I've hit a wall and don't know how to proceed.
What I want is this: I want to show a list of products on the page. For this I have created a CatalogBean which has a List of ProductBeans (ProductBeans having been loaded from the database and containing all the neccessary info about the product - name, link to the gif, price, etc.)
The page should render the list of products in rows separated by a horizontal line. Every product is represented like this:
PICTURE ................. Description
.............................. Price
.............................. Command Link (add to Cart)
--------------------------------------------------------
PICTURE
etc.
The problem is I don't even know where to start. I know how to use a DataTable but only to show the info in rows, like this:
PICTURE Description Price Add to Cart
---------------------------------------
PICTURE etc.
But that's not what I want.
Can somebody please give me a few pointers how to get the former rendition? I would be extremely grateful.
Thanks in advance and cheers!
[ October 27, 2005: Message edited by: Baba Bizlowsky ]