Skip to Content
0
Oct 19, 2010 at 06:22 AM

WebDynpro Custom Theme 7.20

27 Views

Hellp experts!

We are migrating our standalone WebDynpro applications from AS Java 6.40 to CE 7.20. Previously we used a custom theme using the sap-cssurl parameter in the application url.

Using the Theme Editor we recreated the theme, put it under tcwddispwda/root/global/SSR/themes/our_custom_theme and linked it in the application url via sap-cssurl.

Unfortunately we get the following error:

com.sap.tc.styles.StyleSheetLinkException: StyleSheetLink "http://host.company.com:50000/webdynpro/resources/sap.com/tc~wd~dispwda/global/SSR/themes/our_custom_theme/ls/ls_ie6.css" is not valid. StartIndex: 14, EndIndex: 116 
    at com.sap.tc.styles.StyleSheetLinkProvider.extractThemeIdFromStyleSheetLink(StyleSheetLinkProvider.java:497)
    at com.sap.tc.styles.StyleSheetLinkProvider.getThemeId(StyleSheetLinkProvider.java:433)
    at com.sap.tc.styles.StyleSheetLinkProvider.getThemeId(StyleSheetLinkProvider.java:425)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.laf.LookAndFeelService.extractThemeIdFromStyleSheetLink(LookAndFeelService.java:361)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.laf.LookAndFeelService.getCurrentThemeName(LookAndFeelService.java:106)
    ... 59 more

The same error appears if I set the WebDynpro default theme to our custom theme (sap.theme.default). The error also appears if I specify one of the standard sap themes via sap-cssurl.

The url is valid, if I enter it in a browser the css file is loaded.

The stylesheet version for our custom theme is the same as specified in version.properties of dispwda.

From the above error message I cannot see, if the link cannot be found or if the css file is invalid...

Thank you for any hint!

Regards

Hans