on 08-01-2007 12:06 AM
Hi,
I tried using sap-cssurl in my application window interface view. After all, when I click on WD iview, nothing comes, it's keep on reading some thing from server i guess. Here i did not use any Theme Editor or theme copy to the folders. I see sap_chrome in the SSR/themes folder. I am trying to use the same to test. Did I do some thing wrong here? Pls help me.
Code written in onPlugDefault
WDDeployableObjectPart currentAppPart = wdThis.wdGetAPI().getComponent().getApplication().getDeployableObjectPart();
String themeURL = WDURLGenerator.getApplicationURL(currentAppPart);
themeURL = themeURL"?sap-cssurl=""http://<myserver>:50200/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/sap_chrome";
wdThis.wdFirePlugOutForTheme(themeURL);
Hi,
In the URL that you have built, you haven't mentioned the CSS file name. I think that can be a problem. Try this:
sap-cssurl=http://<Host-Name>:<Port-Nummer>/webdynpro/resources/sap.com/tc~wd~dispwda/global/SSR/themes/sap_chrome/ur/ur_ie5.css
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just created Theme using stardard portal Theme.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Satya,
I managed to make it happen. Your inputs are so useful.
Now My WD application has special theme and rest of portal apps has it's own theme. By the way i am using NW04 SP20 WAS/PORTAL.
Solution:
1. Made changes to Existing Portal theme in the Standard Portal Theme editor ( Sys Admin->Portal Display-> Theme Editor ) and saved as custom theme in the portal.
2. Open Webdynpro Iview properties
a. set the following value in the application parameters property
sap-cssurl=http://myserver:50000/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/<MyTHEME>/ur/ur_ie6.css?6.0.20.0.4&sap-cssversion=6.0.15.0.0
b. Set No to Use Portal Stylesheet property.
That's it. No need to use theme editor or any other tools. No need to write single line of code code in the Webdynpro application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.