Skip to Content
avatar image
Former Member

Custom theme Application

Hi all,

I have a EP with some WebDynpro IViews and I wanna apply a new theme to a custom IView. Looking for how to customize Themes, I already create a new theme in Theme Editor, import that in EP and configure my custom IView with the sap-cssurl parameter and my application don't get the theme characteristics.

If I try to test my application alone (out of EP) with the sap-cssurl parameter, the theme is applyed fine but when I do that from EP, no theme's are loaded (default EP theme isn't load too).

Anyone can help-me? I must have a different theme to this application.

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

8 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 19, 2005 at 10:22 PM

    Hi manoel

    Well then going by your scenario, you will have to use SAP-CSS as a url parameter in your webdynpro application.

    But when you port the same webdynpro application as an iview in the portal it is not guaranteed that all the themes work as it is.

    We seem to face some problem in SP11. The application specific theme works fine in SP10. But there are some problems when it comes to SP11.

    BTW what version are you using. But i guess this is the only solution available to your specific scenario i.e create webdynpro themes separately and then use them in portal with the sap-cssurl parameter.

    regards

    Ravi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 20, 2005 at 05:20 PM

    Trying to changing URL IView to use theme in other WebAS instance solved my problem.

    The problem described of SP11 is true, it’s a bug? There's a patch or correction for this?

    We have a problem too with NWDS SP11 importing RFC and we downloaded a new IDE with the correction.

    Thanks a lot.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi manoel

      The problem is with the theme editor i guess. I dont think there is another version available. The theme that we created using the theme editor for Webdynpro works fine for SP10 but there are slight problems when it comes to SP11. Guess it should be fixed in SP12 :)...

      BTW what is the problem you are facing with SP11.

      ravi

  • avatar image
    Former Member
    Apr 20, 2005 at 04:53 AM

    Hi Manoel,

    If ur problem is giving each of ur WebDynpro iview a different theme u can do the following :

    For each of ur WD application, retrieve the application Url,

    append it with the parameter sap-cssurl with the required theme value.All this can be done in the onPlugDefault method of ur application and it works.

    Then u can create a Urliview in EP, for each of ur WD application. Thus each Urliview will take up the theme specified in your WD application.This works.

    I don't know much about EP,but i hope this will be helpful for you.

    regards

    Lisha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 19, 2005 at 06:51 PM

    Hi manoel

    If you want your WebDynpro applications to have a different theme than your portal then go to Visual Admin and under Configuration Adapter > WebDynpro>sap.com-->tcwddispwda/default.properties.

    In that file give the url of your CSS in the <b>sap.theme.default</b> property

    Set the property of <b>sap.useWebDynproStyleSheet</b> as true. Restart your J2EE server and then deploy your component. Now try logging into the portal and see. That should give you the new theme applied for the WebDynpro application.

    Let me know if you require more information.

    regards

    Ravi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 19, 2005 at 07:33 PM

    Hi Monoel

    Here is the Link on applying custom Themes for webdynpro applications.

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/unkown/how to define web dynpro themes.pdf

    Hope this is useful.

    Regards

    Senthil

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 19, 2005 at 09:23 PM

    Hi,

    I already read this PDF (How to Define Web Dynpro Themes) but if I change the sap.theme.default property in Visual Administrator I will change all WebDynpro applications, right?

    In my case, I have many WebDynpro applications published in my EP and I must that just two of ten applications to have different themes like that:

    -


    Portal

    -


    Application1

    -


    -Deployed Web Dynpro IView 1 (default theme)

    -Deployed Web Dynpro IView 2 **(different theme)**

    -Deployed Web Dynpro IView 3 (default theme)

    -Deployed Web Dynpro IView 4 (default theme)

    -Deployed Web Dynpro IView 5 **(different theme)**

    -Deployed Web Dynpro IView 6 (default theme)

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 21, 2005 at 12:03 AM

    Hi,

    I’m still having problems with the custom themes. I.e. I create a dropdown and the arrow doesn’t appear and my dropdown don’t works fine.

    All this problems occurring after I had applied the SP11 in my EP. I’m using the Developer Studio to make these new themes in the SP11 version too.

    I don’t understanding how the SAP has published a new release with a lot of bugs like that.

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 07, 2005 at 06:18 AM

    Is a SP13 Theme Editor existing and where to download from?

    Add comment
    10|10000 characters needed characters exceeded