on 10-20-2006 10:09 PM
Hi everyone,
My requirement is, I have an application, which have 3 iView, for example IViews A,B,C.
iview A calls B, B calls C,. Here iview B,C have a back button, so when back button on iview B is pressed it should go back to iview A, same thing with iview C;
I am using 2004's, in 2004's using cookies is discouraged,
next option I am thinking about is passing URL parameters,
anyone can guide me how to use url parameters for request and response.
Regards
Sriram
Hi Sriram,
On clicking on back button, if you want to move to previous iView, use outbound plugs to achieve this.
You can use below code to get Request Object.
Add 'servlet.jar' to WebDynpro libraries.
HttpServletRequest request =((IWebContextAdapter)
WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
Enumeration enum = request.getHeaderNames();
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sriram,
I am assuming that each iview is based on a Dynpro view.
First, create separate application for each iView, you can achieve this by creating a separate Window interface for each one. Once you have that you can navigate between them using this code which relies on the WDPortalNavigation Object:
WDPortalNavigation.navigateAbsolute(
"ROLES:"+iview,
WDPortalNavigationMode.SHOW_INPLACE,
(String) null,
(String) null,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
(String) null,
(String) null,
"Param=Paramvalue");
Where:
"ROLES:"+iview=Iview Path
"Param=Paramvalue"=Parameter and its value
You can receive the value at the other side using:
String parmvalue=WDWebContextAdapter.
getWebContextAdapter().getRequestParameter("Param");
Hope it helps,
Roy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Roy Thanx for your reply, but my scenario is like
when user clicks on navigate button on first IView it will take you to next IView. On next IView it should show navigation levels and navigation mode. I thought about absoluteNavigation but it wont work in my scenario I guess, Please give me your suggestions.
Regards
Sriram
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.