Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded

  • 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 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

  • 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 comment
    10|10000 characters needed characters exceeded