on 05-19-2006 11:53 PM
Hi all
In a web dynpro project I have an XSL file wich I use to generate dynamic HTML files.
This XSL file is located in src/packages/xslt/sad.xsl
(xslT path is a new path created by me).
The point is, sad.xsl needs to include an image in the html page it generates.
I have an <img> tag but I'm not sure where to save this image in my web dynpro project and what should be the path in the <img> tag...
I'd really appreciate any help
Hi,
By default WebDynpro will pickup the images from folder "src/mimes/Components/".
So if you save the image file in the above directory then you can see the image on the control.
In the <img> tag just give the name of the image .
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Xavier,
In order to do XSL transformations in my Web Dynpro Project I imported an external jar (from Apache) called "Apache Xalan XSL processor"
I didn't use any SAP technology because the api I found didn't work with Web Dynpro (not 100% sure).
I recommend you to read this article from <a href="http://www.javaworld.com/javaworld/jw-09-2000/jw-0908-xpath.html">Java World</a>
wich explains in detail the jars you need to import and the code to do XSL transformations.
If you need any additional help about it or have any issue including this code in Web Dynpro please let me know
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Felipe,
We have a requirement where we would have to use an XSL file generated by a Portal application in Web Dynpro.
Would you be able to share any idea on how this could be done ? Appreciate your effort.
Warm Regards,
Xavier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.