on 08-20-2012 4:50 AM
Hi All,
I have a query on how to apply the CSS files to the webdynpro java application.
I got CSS files given by web design team, and i would like to add them to the webdynpro applicaiton. please let me know how to incorporated the CSS files to the webdynpro java application.
Thanks,
Portaluser100
Hi,
I'm not sure if this will work, neither exactly how the URL Mapping would translate to a proper valid deployed Application in your AS.
But you can try:
Netweaver Administrator ->Configuration -> Infrastructure -> Application Modules
Name: tc~wd~dispwda [Enter to Filter]
Select it and in the bottom panel choose "Web Dynpro Properties" tab. Scroll down a bit and you can find each client WDJ renders. Select the appropriate one and you can point to a new CSS. You could also do a @import in your own CSS to whatever SAP defaults.
In order to find out the paths, you can do a view-source on any Application - for instance,
<link rel="stylesheet" type="text/css" href="../../../../com.sap.ui.lightspeed/themes/sap_tradeshow_plus/ls/ls_sf3.css">
is rendered when using Chrome.
Container level settings should not be overwritten when applying a patch to WD-RUNTIME - but I wouldnt be surprised if it does.
Hope it helps,
D.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do no think you can directly use CSS in web dynpro...instead what you can do is, modify the Web dynpro themes thru NDWS...There is a plugin Theme Editor in NWDS thru which you can modify the look & feel of web dynpro UI elements.
Then deploy the theme on the server and provides a ref to it from your web dynpro application.
Depending on your system version, download the required theme editor from SDN.
Sandip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.