Skip to Content
avatar image
Former Member

Theme Specific webdynpro appliation

Hi All,

i have follwed this blog <b>/people/lisha.peter/blog/2005/07/07/make-your-webdynpro-application-theme-specific to make my webdynpro application as theme specific.

But i am getting this information message while executing the WDapplication and there is no theme effect to my WDapplication

<b>com.sap.tc.webdynpro.services.sal.config.api.WDConfigurationNotFoundException: Configuration not found: webdynpro/local/ThemeTestPrj/Applications/com.png.ThemeTestApp/NewTheme.properties</b>

Is it mean do i need to configure anything in Application integrater???? Could anybody tell me the reason

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jun 13, 2007 at 09:54 AM

    Hi,

    Check out your configuration. The New theme properties file is not available during runtime to the webdynpro application.

    Re-Check the procedure as per the Blog.

    Here is one article on the same topic

    Colourful" target="_blank">www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/colourful%20webdynpro%20applications.pdf">Colourful Webdynpro application

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 13, 2007 at 09:58 AM

    hi Niranjan,

    I hope this links may help you... me too working for a theme specific Dynpro application using this..

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/colourful%20webdynpro%20applications.pdf

    Click the link "colorfull webdynpro applications" in the /people/lisha.peter/blog/2005/07/07/make-your-webdynpro-application-theme-specific page..

    regards,

    Prabhakaran

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 13, 2007 at 10:00 AM

    You have to create a proeprties file in your project folder.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Bharatwaj,

      In properties file: NewTheme.properties

      sap-cssurl = http://sd01:50000/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/NewTheme</b>

      In onPlugDefalut i have written this code

      {

      //@@begin onPlugDefault(ServerEvent)

      String cssParam = WDWebContextAdapter.getWebContextAdapter ().getRequestParameter ("sap-cssurl");

      if (cssParam == null)

      {

      try

      {

      //Access the deployable object part of the application you are currently in.

      WDDeployableObjectPart currentAppPart = wdThis.wdGetAPI().getComponent().getApplication().getDeployableObjectPart();

      //Get the URL of the application (deployable object part).

      String appURL = WDURLGenerator.getApplicationURL (currentAppPart);

      //Access the property file under the deployable object part.

      IWDConfiguration cicConfig = WDConfiguration.getConfigurationByName (currentAppPart, "NewTheme.properties");

      //Get the string value of the property.

      String cssKeyValue = cicConfig.getStringEntry ("sap-cssurl");

      //Append the application URL with the value obtained above.

      String themeAppURL = appURL + "?sap-cssurl=" + cssKeyValue;

      //Fire the exit plug with the above obtained value as its string parameter.

      wdThis.wdFirePlugUrl(themeAppURL);

      }

      catch(Exception e)

      {

      wdComponentAPI.getMessageManager().reportSuccess(e.toString());

      }

      }

      //@@end

      }

      }

      Niranjan Reddy