Skip to Content
0

How to display image in second tab,which is selected through fileUpload in first tab

May 02, 2017 at 10:49 AM

112

avatar image

Hello Experts,

In a tabstrip , I have 2 tabs. In tab1, using fileUpload I chose an image file. On clicking the save button, I want the image to be displayed in the second tab. I used Image UI. But the source attribute is not taking the resource context attribute. Please help me in this regard....

Thanks in advance

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Szabolcs Renyo
May 02, 2017 at 12:11 PM
0

Hello Aswini,

Would you like to code it with WD Java?

Best Regards,

Szabolcs Renyo

Share
10 |10000 characters needed characters left characters exceeded
Aswini Yagati May 03, 2017 at 04:45 AM
0

yes Renyo. Please give me detailed steps, it would be very helpful for me.

Share
10 |10000 characters needed characters left characters exceeded
Catherine LaCroix
May 03, 2017 at 11:38 PM
0

UI Web Dynpro Java tag should be added.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

true, just added now. thanks pointing out, Catherine.

0
Sharath M G May 06, 2017 at 08:29 PM
0

It must be problem with the binding.

Since tabstrip will be in the same view, first try to display the image within the same tabstrip by binding the context variable which holds the uploaded image.

Once that is fixed, then create an image in second tab and bind the same variable. Since tabstrip is in same view context, the image data will be available throughout the view.

Regards,

Sharath

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Sharath, thank you for the answer. I am able to display the image independently by taking the Image UI. But my requirement is, I will choose an image using FileUpload in first tab. In the second tab, I want to display the image selected in the FileUpload. For fileUpload, we will use the resource type, binding the resource to Image UI is not possible(since it will take only string type). Please tell me, whether there is any way out for this thing

Thanks

Aswini Yagati.

0