cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying uploaded to KM image with Image UI Element

Former Member
0 Kudos

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?

Regards,

Dzmitry

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Problem solved by disabling cache in browser.

Maybe more ideas?

Regards,

Dzmitry.

Message was edited by:

Dzmitry Chuchva