on 01-13-2012 9:24 AM
Hi All,
I have a requirement to create a WD java application which can display a report with its background image as water mark image. Is this possible in Webdynpro java.
Please suggest me.
Thanks
Uday
A web dynpro application cannot have a background image.
When run from a portal, you can try and perform some low-level CSS altering upon loading the iView, but out of the box it's simply not possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think documentation exist...
However, what you need to do is -- in high-level overview -- write a javascript method which will hook into the window.onload event.
In that method, you need to reference your particular web-dynpro element, either by name or id -- this involves some heavy html-source code reading/deducting of the rendered portal page HTML.
After you have identified the html element which makes up your particular WDJ frame (could be a div, td, etc. element) you use standard dhtml to alter the style of that element so it displays the image as a background.
The above is very time-consuming to develop, an absolutely non-standard/non-supported approach, and simply changing the layout of your portal page may break the functionality of your carefully, tediously crafted CSS hack. But, if your willing to put in some significant work, it can certainly be done.
Hope this explains,
Robin
Edited by: Robin van het Hof on Jan 13, 2012 12:16 PM
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.