on 06-12-2007 12:59 PM
hi friends,
everyone would have come up with using the image Uielement in a webdynpro application..Did anyone of you try to use the image as the background of a view..? If u have a solution for the same please reply to this thread..
Hi
Check this URL https://www.sdn.sap.com/irj/sdn/appserver-forums
i think you get an idea for your solution
Regards
Chandran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try this out (I haven't tried this, but theoretically this should be it):
1. Open the themes folder under "<Drive name>:\sap\<instance name>\JC<>\j2ee\cluster\server0\temp\webdynpro\web\sap.com\tcwddispwda\global\SSR\themes".
2. Select a theme that you want to modify (let's say sap_chrome).
3. Open the css file (let's say ur_6.9_ie6.css) in edit mode. You can find the css files in the "ur" folder.
4. The first line of the css file contains the styles for a class called "urBodyStd".
5. Add the following to the styles of this class:
background-image:url('fileName.extension');
6. Save and restart the server.
7. Use the "sap-cssurl" URL parameter for your application and pass the URL of this css that you have just modified. Note that this URL will be of the format
http://<server name>:<port>/webdynpro/resources/sap.com/tc~wd~dispwda/global/SSR/themes/<theme name>/ur/<cssFileName>
Regards,
Satyajit.
Hi,
I think you cannot directly set the image as a background for the view.
Instead create a view container with Gridlayout and colcount 1.
Add a image UI Element and set the height and width in the layout data and not for Image UI element.
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.