in the html I added a label and an image ...
HTML...
<table class="browse" >
<tr wicket:id = "rows" >
<td wicket:id="cols">
<a wicket:id="voteLink" class="voteLink"><img wicket:id="designThumb"/></a>
<span wicket:id="label" class="label"></span>
</td>
</tr>
</table>
does that make sense... ? you can then override the populateItem() with whatever you want...
On 3/26/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:
create a panel that houses both the image and the text and add that to the gridview instead.
-IgorOn 3/25/06, Potje rode kool < [EMAIL PROTECTED]> wrote:Ok, was able to display images in a GridView but can't get it working to have an image and text grouped together in a 'cell' in a Gridview
like I have in this example , where I have an image and text together in a div.
How to do this?
Thanks in advance.
Evert2006/3/25, Igor Vaynberg < [EMAIL PROTECTED] >:or better use a GridView in extensions.
give it a list of images and how many columns you want to have, and that should be pretty much it - oh and it also supports paging.
-IgorOn 3/25/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:You have a list of images you want to show on each page.
Use a listview (or dataview or ...) component and provide that component with the list of images.
MartijnOn 3/25/06, Potje rode kool <[EMAIL PROTECTED]> wrote:Hi,
Just got started with Wicket and got an question about it.
I want to create a photoalbum page where I want to display some images and text like this.
Not every page will have the same number of images (plus text), so one page may have 12 but the other just 2.
How to do this with Wicket?
Thanks for the help in advance.
--
Cast your final vote for Wicket in the SourceForge.net 2006 Community Choice Awards!
http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php
