Hi,

I'm trying to display a grid of images, for example 4 columns and 3 rows of images, where each "cell" is a different entry retrieved from the database with a different index/id.

I took a look at the DisplayTag example and PageableDataView's source-code and they don't seem to be quite appropriate for handling my use-case. In a nutshell, PageableDataView only has a concept of rows, where the populateItem(ListView) method allows one to add() different views of the same database row. So for example, a given row will have an id, name, description, etc...

What I need is multiple columns per visual row where each column is a distinct DB item, with a distinct ID. PageableDataView only increments the index outside the scope of populateItem() so I'm not sure it's possible to implement using it.

My gut feeling is that maybe I can use PageableDataView with CSS somehow to emulate columns but i would be much nicer if I just had a component that had the concept of columns in the first place.

        What do you think?

Thank you,
Gili
--
http://www.desktopbeautifier.com/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to