on 07-23-2006 5:11 PM
Hello,
I have two applications App1 and App2 from the same component.
App1 is presented to the user through iView1 which locates somewhere at the portal while App2 is presented to the user through iView2 which locates at somewhere else at the portal.
I would like to create a LinkToAction on App1 which by pressng on it will navigate inside the portal to App2 and will transfer a String parameter as well.
I know how to do it when I need to open App2 in new window but I don't know how to acomplish this navigation with parameter transfer inside the portal.
Hi
Try This
WDPortalNavigation.navigateAbsolute("ROLES:"+iview,WDPortalNavigationMode.SHOW_INPLACE,(String) null, (String) null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null,(String) null,"Param=Paramvalue");
"ROLES:"+iview=Iview Path
"Param=Paramvalue"=Parameter and its value
Youcan receive the value as
String parmvalue=WDWebContextAdapter.getWebContextAdapter().getRequestParameter("Param");
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roy,
For navigating in the portal, use <i>WDPortalNavigation</i>.
To pass parameters to a Web-Dynpro application that is executed via a Web-Dynpro iView,
you need to use the <i>Application Parameters</i> property.
You can change it in java code:
http://help.sap.com/saphelp_nw04/helpdata/en/fd/ea5c42da4de92ce10000000a1550b0/frameset.htm
Problem is, since it's the same iView for all users, when several users will work simultanously,
the last one will overwrite the other's values.
Nevertheless, I hope it offers a direction.
Good luck,
Yoav.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.