Skip to Content
0
Former Member
Sep 28, 2007 at 06:28 PM

Custom theme for a Particular WD - NOT the default theme for all WD app

18 Views

Hi:

At WindowInterfaceView on onPlugDefault

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

WDDeployableObjectPart currentAppPart = wdThis.wdGetAPI().getComponent().getApplication().getDeployableObjectPart(); // WDURLGenerator.getApplicationURL("local/WelcomeTheme", "WelcomeTheme");

String applicationURL = WDURLGenerator.getApplicationURL(currentAppPart);

applicationURL=applicationURL

+ "?sap-cssurl=http://"

+ theHost

+ "/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/sap_hcb";

wdThis.wdFirePlugTheme(applicationURL);

This is the error when I execute the app and it's integrated at portal.

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application!

at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:516)

at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:462)

at com.repsolypf.mailsender.wdp.InternalMailSenderWindowInterfaceView.wdFirePlugTheme(InternalMailSenderWindowInterfaceView.java:145)

at com.repsolypf.mailsender.MailSenderWindowInterfaceView.onPlugDefault(MailSenderWindowInterfaceView.java:117)

at com.repsolypf.mailsender.wdp.InternalMailSenderWindowInterfaceView.wdInvokeEventHandler(InternalMailSenderWindowInterfaceView.java:105)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.invokeEventHandler(DelegatingInterfaceView.java:85)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:162)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:375)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:748)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:283)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

I can't find the way to set a custom theme for a particular WD which is integrated at NW2004s portal. Any idea?

Thanks a lot for your time on this thread.

Rocío.