Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Portal Theme (Stylesheet) in Web Dynpro Java

$
0
0
Hi,
IF this is a standalone wd java application that holds the theme as URL parameter, then you can get it this way:
You can put this to the wdDoInit():
IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
String URLparam = request.getParameter("MyParam");
wdComponentAPI.getMessageManager().reportSuccess(URLparam);
Which will print on the screen "Hello World!" assuming that the URL looks this way:
This note might help how to use stylesheets in URL parameter:
#1891996 How to display standalone WD Java applications in different themes via URL param
This post addresses only standalone WD Java applications, if your issue is not related to standalone wd java applications then you can ignore this post.
Regards,
Ervin

Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>