Addition of default alt-text to all ImageIcon's

Change-Id: Ia81f3d8a5f5a7782b015857d3adc4b87a97f156e
This commit is contained in:
mpeters 2011-07-13 15:19:27 +02:00
parent 04be355dce
commit 73c8de7a42

@ -65,6 +65,9 @@ public class ImageIcon extends Image {
if(alt != null){
add(new AttributeAppender("alt", true, new Model<String>(alt), " "));
}
else {
add(new AttributeAppender("alt", true, new Model<String>(name), " "));
}
}
public ImageIcon(String id, String name){