How do I go about setting what image to use? I have:

/images/green-check.png
/images/yellow-alert.png

And I want to choose which one of these to display on page creation time. I
though it could be something simple like:

add(new Image("image", "images/green-check.png"));

<img wicket:id="image"/>

but that did really nasty things to my page. How is one supposed to do this?

Jason
-------------------------------------------------------------------------
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