cancel
Showing results for 
Search instead for 
Did you mean: 

Image disappears - WebDynpro Java

Former Member
0 Kudos

Hi All,

I have a WebDynpro Java application, which has image, and other UIs. There is a image displayed in the image UI. When there is some actin in the UI, by clicking any of the UI, the image disappears, after other action it comes back again. Where could be the problem ?

Thanks,

Prabhakar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check the context binded to source and visible properties of image UI.

R u trying to set any values to these contexts in the other UI actions ?

John

Former Member
0 Kudos

Hi John and Ramesh,

I will explain you more clearly that how it is working.

Consider that I have some tabs in the same view, When I click a tab(I dont have any action to it), the image disappears. But clicking the same tab, when I click the next time(after refreshing the browser), I dont have any problem.

For example I have given here as tab, but it happens with any of the UI's in the view.

Thanks,

Prabhakar.

Former Member
0 Kudos

Hi,

Just try putting this code in the wdModifyView() method of the view.

if(firstTime){
    	IWDButton but=(IWDButton)view.getElement("Save_Button");
    	but.mappingOfOnAction().addSourceMapping("nodeElement","MyDataElement");
    }

Regards,

H.V.Swathi

Former Member
0 Kudos

Hi,

Is this Image UI too much nested from the root UI element...

Regards

Ayyapparaj

Former Member
0 Kudos

I am giving here the hierarchy of the Layout.

RootUI

|___TransparentContainer_1 (child of RootUI)

|___ImageUI_1 (child of TransparentContainer_1)

|___TransparentContainer_2 (child of RootUI)

|___ScrollContainer (child of TransparentContainer_2)

|___ImageUI_2 (child of ScrollContainer)

There is a drop down which has values 'Fit to Window' and '100 %'. Either one of the UI's 'ImageUI_1' or 'ImageUI_2' will be visible based on the drop down value.

Regards,

Prabhakar.

Former Member
0 Kudos

Hi,

Does this drop down contain an empty element in the begining? If so change the selection cardinality to 1..

Regards

Ayyapparaj

Former Member
0 Kudos

Hi,

Thanks for all who replied here.

By saying that image disappears, I mean that an 'x'(Red color) mark is seen in that place.

Thanks,

Prabhakar.

Former Member
0 Kudos

Hi,

Try to print the image path when you click on the tab.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyapparaj,

I displayed the URL of the image in DoModifyView(), the URL is always existing in the context, even when I get 'X' mark instead of the image.

Thanks,

Prabhakar.

Former Member
0 Kudos

Hi,

Have you used LinkToURL UI component or Image Component?

Thanks & Regards,

Meenakshi

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Prabhakar,

It seems there is some refresh issue, as you say clicking some UI next time after refreshing the browser, the image appears.

Check that if the image comes after right click on 'X' mark & choose to download (after first time only).

Kind Regards,

Nitin

Former Member
0 Kudos

Hi Nitin,

When I right-click on the 'X' mark, I don't get any download option. I get only 'show picture', 'copy', etc,. and these too doesn't work.

Thanks,

Prabhakar.

Former Member
0 Kudos

Hi,

check the "Image UI" visible property ?

Regards,

ramesh