Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

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.

    Thanks,

    Pramod

    Add comment
    10|10000 characters needed characters exceeded