on 01-28-2009 4:46 AM
Hi All,
I am trying to catch url parameters with the following code.
PARAM1 is the parameter name.
IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
String RESPONSIBLE_NO = request.getParameter("PARAM1");
wdComponentAPI.getMessageManager().reportSuccess(PARAM1);
The above code works fine if I use the following url for calling the WD application
http://<hostname>:50000/webdynpro/dispatcher/local/MyWDApp/MyWDApp?SAPtestId=10&PARAM1=123
I am able to get the passed value as output for PARAM1 as 123 in my output.So far this is good.
But I created a View based on the above WD application an trying to call the iView using Navigation Target.Now I am not able get url parameter value.I used the following url
http://<host name>:50000/irj/portal?NavigationTarget=ROLES://portal_content/POC_View/Roles/My_Folder/My_view
&PARAM1=123
I require to pass the paramters with the above url as I need to call this iView in IFRAME
Regards,
Santhosh
Hi,
If i could understand your scenario you need to use portal navigation with dynamic parameters
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ayyappa for the response.
Actually My webdynpro iView consists of two frames.
Top frame fetches data from one system and bottom frame calls some other iView
Though Portal Navigation is helpful in catching the paramter values,I can not use that.
Becoz I have to retain the top frame and also show the second iView in the bottom frame
If I use Portal navigation,both the frames are replaced by the iView called.
So for this reason I am trying to use NavigationTarget URL. and passing the paramters but I could not do so.
Hope I am clear with question.Please provide your inputs on the same
Regards,
Santhosh
Hi Santhosh,
There is an option in the webdynpro iView, called "Parameters to Pass from Page Request" this has to be set to * to allow all parameters to be passed to the webdynpro iview from with in the portal. Make sure you set the Isolation Method to URL.
You can also enable single parameters by writing the name.(case sensitive).
Hope this helps.
Regards,
Sanyev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.