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

Web Dynpro Stylesheets

Hi,

I have my own set of stylesheets, what is the way to force applications to use it? Where should I put them?

Is there way to use stylesheets dynamicaly, changing them when user change the language? My stylesheets have different (right to left) layouts so they should be used only when right to left lenguage were choosen?

Regards,

Victor.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 22, 2004 at 01:18 AM

    Hi ,

    use "style_sheet=<fully qualified location>" of the theme

    Also find the attached threads

    setting-locale

    I18N: How to change language at runtime

    Thanks and Regards,

    Sam Mathew

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 26, 2004 at 12:44 PM

    Hi,

    could you please give me an example of how to specify the 'fully qualified location' of the stylesheet?

    Thanks,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I am not sure I understand your question but, if you have a WebDynpro application AppName in component called ComponentName, and stylesheet theme named ss_test located in thems directory on server then you should lounch an application in the following way:

      http://hostname:port/webdynpro/dispatcher/local/ComponentName/AppName?style_sheet=themes\ss_test

  • Posted on Jul 26, 2004 at 01:42 PM

    Where is this 'themes' directory exactly? I found a directory called themes under ...\server0\temp\webdynpro\web\sap.com\tcwddispwda\global\SSR\themes.

    I tried the following: I've added the URL parameter style_sheet and used the value http:// : /webdynpro/resources/ sap.com/tc wddispwda/global/SSR/themes/sap_standard

    Then, the browser requests the resource http:// : /webdynpro/resources/ sap.com/tc wddispwda/global/SSR/themes/sap_standard/ur/ur_ie6.css which works fine and after that it looks for the URL http:// : /webdynpro/resources/ sap.com/tc wddispwda/global/SSR/themes/sap_standard/csf/csf_ie6.css which returns a server error (return code 404).

    The problem is that the directory csf doesn't exist.

    What can I do?

    Thanks,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

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.