Skip to Content

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

Apr 25, 2017 at 08:18 PM


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 =;


portalurl = window.location.href;


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,


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

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



10 |10000 characters needed characters left characters exceeded