Skip to Content
Former Member
Oct 17, 2007 at 01:13 PM

Displaying uploaded to KM image with Image UI Element


Hi all,

I have following architecture: Web Dynpro Application uses Web Service exposed from Portal Service for managing user photos, stored in KM Repository. Images in repository have names like <user_id>.bmp. (So even after uploading of new image, the name and URL of resource in KM will not change). User can upload photo to his profile. After uploading of image Web Dynpro application immediately requests it for displaying, and with help of imported web service model I get an URL to photo like http://<host>:<port>/irj/go/km/docs/users/<user_id>.bmp, generated with KM URL Generator global service. This URL is stored in context attribute, to which Image UI element 'source' property is bounded.

Issue is that, in spite of 'source' property changes, Image UI element does not get updated. It seems to me, that in fact of identical URL's (see above) for concrete user, Image UI decides not to download image. How can I force Image UI to update?