Where to put images in web Dynpro project to have them deployed?
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?
ramesh vadugu replied
place the image in the following folder of application,
src\mimes\Components\<your component name>.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.
Edited by: Ramesh Babu V on Sep 19, 2008 1:58 PM