Thanks again Igor !

You're most helpful.

However, as a newbe I am, I still don't get it to work (but I try
before posting again, I promise!).

In fact, the issue now is with the path associated with my images.

Indeed, for the cell image, I used :
Image test = new Image("image1", new Model("test.png"));
then, currently, I do a item.add(test);

However, in my WebMarkupContainer, when I do tag.put("background",
"test2.png"); } it gives in the html : <td background="test2.png">
even if this image is in fact in my package next to the html page.

At the end of the day, I've found that my image from new
Image("image1", new Model("test.png")); is written as test_en.png in
the html file. But I don't need to localise it neither, so I wonder
what is the best way...

A last question :
I don't use a DataView but a RepeatingView. In the end, if it works
properly, I would like to have some ajax behavior linked to the
images' hover (to render some information on the image displayed on
the right corner of the page). Is a DataView better suited for such an
use? I don't know exactly, yet, when to use XXView or XXData... I read
the Javadoc but I wasn't enlightened.

Thanks in advance again !
ZedroS

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to