Another lesson learned in Wicket programming. The task was to create a table that has cells that contain multiple images. It didn’t seem like wicket has support for creating a cell with a link image out of the box. Wicket has a mechanism of supplying a IColumn[] to the DataTable however none of the IColumn implementation have support for the image data, i.e:
|
<tr> <td> <a href=”http://company1.com/sales”> <img src=”company1Sales.gif” /> </a> <a href=”http://company1.com/about”> <img src=”company1About.gif” /> </a> <a href=”http://company1.com/products”> <img src=”company1Products.gif” /> </a> </td> </tr> |
Visually it should look something like this:
So basically, it would create a component which is useful, when user wants to see narrow down on data presented in a table format. In the above example, hypothetically it would be a table of all companies that have a common attribute.
