Skip to Content
author's profile photo Former Member
Former Member

Project specific stylesheets

Hi,

is it possible to define project specific stylesheets (CSS-styles) that are used for the standard Web Dynpro controls?

The generated HTML files get their styles from

webdynpro\web\sap.com\tcwddispwda\global\SSR\themes\sap_tradeshow\ur

I would like to tell them using

webdynpro\web\local\[project name] or whatever.

Thanks

Helmut

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 29, 2004 at 08:42 AM

    Hi Helmut,

    it should be possible to define the stylesheets to use for a WD application by defining a theme url (as far as i know, this is also the way the theme is determined if running in portal). This is achieved by adding the url parameter "style_sheet" to the WD application url.

    The theme url has to be fully qualified and has to point to the theme "root directory". As default, this is the <...>/sap_tradeshow directory you mentioned. For SSR "ur/ur_" is appended, followed by the client (for example ie6) and ".css".

    But this feature is undocumented and seems to be reserved for portal usage, so maybe you're running into trouble somehow.

    Hope that helps.

    Regards

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Josef,

      it´s not just one css-file, it´s a bundle of css-files. All these files are located in one directory with sub-dirs.

      After generating your Theme in the portal you have to copy the dirs from the portal location (don´t know exactly where to find them, you have to look) to the web dynpro server and location (see above).

      Then you can use the url parameter style_sheet=

      Regards

      Helmut

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.