on 04-21-2015 11:27 AM
Hi experts,
I would like to develop an application , in which if we want to display images randomly like one by one on the same screen.Is there any way to achieve this functionality.
Thank you.
Regards,
Nagendra
Hi Nagendra,
You can add image in WDA dynamically. Check the below thread FYR.
But what exactly you are looking for??
I would like to develop an application , in which if we want to display images randomly like one by one on the same screen.Is there any way to achieve this functionality.
Are you trying to achieve this functionality on any event action??
BR,
RAM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagendra,
How are planning to get the images into webdynpro ? are those uploaded into mime repository and respective urls are available to fetch and bind to webdynpro image element?
May be its helpful if you go through the below document
In the above document its been demonstrated to put image into cache and then use it in image ui element.
Regards,
Rama
Hi,
You can achieve your requirement as below
" Each time prepare the path of image
example:
data lv_path type string.
lv_path = 'hello.jpg'.
" get the context element reference
lo_context_element = wd_context->get_element( ).
" set the path of image source to attribute
lo_context_element->set_attribute(
name = 'IMAGE_SOURCE'
value = lv_path ).
Hope this helps you.
Regards,
Rama
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.