on 02-05-2009 8:20 PM
I have created a button on my Web Dynpro application that launches a summary report, which is another Web Dynpro screen. What I want to do is apply a custom stylesheet so this page is setup for printing.
My button is mapped to an action that loads the summary report screen in a separate window:
String url = WDURLGenerator.getWorkloadBalancedApplicationURL(
"local/EVENTS_EventSummaryReport",
"SummaryReport", p);
String css_url = WDURLGenerator.getAbsoluteWebResourceURL(
"local/EVENTS_EventSummaryReport",
"Components/com.linxas.events.summary.report.SummaryReport/report.css");
url += "&sap-cssurl=" + css_url;
wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,
"Event Summary Report").show();
The resulting url for the report screen is:
This is the correct url, or at least what I think is the correct url. The report opens, but there is no css applied to it. I checked and the css I want is located at the sap-cssurl location of http://linx-serv5:50000/webdynpro/resources/local/EVENTS_EventSummaryReport/Components/com.linxas.ev....
However if I view the source of the resulting page, the css location shows this:
It's appending /ur/ur_ie6.css to my path. Is there any way to make it not do that? I don't want to have to know which browser the client is using for this.
Any help would be appreciated.
Edited by: Tom Cole on Feb 5, 2009 9:22 PM
Edited by: Tom Cole on Feb 5, 2009 9:23 PM
Edited by: Tom Cole on Feb 5, 2009 9:25 PM
I solved the problem. I had to use the Theme Builder and post all the generated contents, not just the single css.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
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.