I have a list of say 5 images (imageresources) that i want to add to a panel without having to declare five separate <img>
tags in my ui.xml
. Is this possible?
Asked
Active
Viewed 451 times
1

user949110
- 543
- 7
- 20
1 Answers
2
@uifield
yourpanel panel
And you directly add images to that panel.
for (int i = 0; i < images.length; i++){
Image image =new Image(url);
.....
...
Panel.add(image);
}

Suresh Atta
- 120,458
- 37
- 198
- 307
-
oh i didn't realize Image was a widget. Thank you. – user949110 Apr 10 '13 at 17:59