Skip to Content
0

Image Field on Web Dynpro Java not visible after adding to Form

Apr 25, 2017 at 08:18 PM

43

avatar image
Former Member

Hello Guru's,

Please help me with below queries:

1. I added Image Field which is bound to a value in Component Controller Context Element, but when I add the Image field to Form and deploy the image is not visible.

2. I want to get the browser URL before form is loading, so I added the below code in Initialize Event of the Image Field:

None of the below code worked

a. this.value.image.href = xfa.resolveNode(this.value.image.href).value;

b. var portalurl;

portalurl = event.target.URL;

or

portalurl = window.location.href;

or

portalurl = document.url

3. When trying to Preview the PDF I get the below error:

Generating PDF Document...

Can't set contentType property

End of processing: failure

Best Regards,

Pramod

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

1 Answer

Best Answer
avatar image
Former Member Jun 19, 2017 at 04:17 PM
0

Used 2 Static Images and hide one of the Image based on condition.

Thanks,

Pramod

Share
10 |10000 characters needed characters left characters exceeded