I’m new to GWT.
I created in my ui.xml a panel containing an Image.
I want to change the url, the alt & the title of that image depending some conditions. How to do it ?
<g:Image url="images/document-statut-1.gif" title="My title" altText="My alt"></g:Image>
Thnx
Modify the uibinder element so it has a field name:
Then make a matching field in your java code:
Any time after you call the
createAndBindmethod in your java class, you can then assign a new url: