Hi all,
I have two WebDynpro based iViews (StartView and SecondView). when I press the button in the StartView, the EP will navigate to the SecondView. During this process, I want send a parameter value from the StartView to the Second View. In the StartView, I use the follow method to navigator:
WDPortalNavigation.navigateAbsolute( "ROLES:portal_content/com.sap.itsamtest/com.sap.secondpage", WDPortalNavigationMode.SHOW_INPLACE, (String) null, (String) null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, (String) null, (String) null, "value=From Start Page");
In the SecondView, I use the WDWebContextAdapter to get parameter's value.
String Name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("value");
It works fine. But I found there is a warning message:
The method getRequestParameter(String) from the type IWDWebContextAdapter is deprecated
So is there any other good mechanism to implement the data transfer between two iViews.
Thanks and Best regards
Deyang