on 03-04-2011 10:53 AM
Hello Experts,
I'm trying to develop a simple java webdynpro application that receives parameters from the URL and sets them into fields in a view. Could anybody tell me how to achieve this? I tried to set paramiters to the application, but then i don't know how to access them.
Thank you in advance.
Finally!
What i have done is set the following code in the wdDoInit of the webDynpro component:
String param1 = com.sap.tc.webdynpro.services.sal.adapter.api.WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("PARAMETER1");
to get the parameter PARAMETER1 of the URL:
http://server:port/webdynpro/dispatcher/local/WDTest004/WDTest004App?PARAMETER1=test
And it worked!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.