Skip to Content
author's profile photo Former Member
Former Member

Where to put images in web Dynpro project to have them deployed?

Hi Brothers,

I would like to show an image in an <img>-tag within a Formatted Text View UI Element.

I have created a folder img under src/.../projectname and I have referenced the image in the <img>-tag as follows:

< img src="/LocalDevelopment~LocalDevelopment~testroadmap~demo.sap.com/src/packages/com/sap/demo/projectname/img/newRow.JPG"; /.>

However, the image is not shown in the Formatted Text View UI Element.

Does anybody know where to put images so that they are packed in the .war achieve and deployed and how to referenced them?

Thanks, Johannes

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2008 at 08:27 AM

    Hi,

    place the image in the following folder of application,

    src\mimes\Components\ . testroadmap.demo.sap.com

    If you store the image file in your Web Dynpro project under src /mimes /Components /<Name of Component>, you only have to specify the file name without a path.

    Regards,

    ramesh

    Edited by: Ramesh Babu V on Sep 19, 2008 1:58 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2008 at 08:46 AM

    Great! Thank you, Bud!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.