Hi Antonio. For this you can use the Image component and the ContextRelativeResource.
if ( isaIcon() ) { relativeResource = new ContextRelativeResource( "/images/a_icon.png"); } else { relativeResource = new ContextRelativeResource( "/images/other_icon.png"); } add(new Image("tuId", relativeResource)); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Datatable-with-Image-in-Cell-tp4658204p4658205.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org