on 08-22-2007 3:25 PM
Hi
I have two web dynpro iviews iview1 and iview2 in portal.
Iview1 has link for navigating to iview2.
I am using following code for navigation :
WDPortalNavigation.navigateAbsolute("<<url>>",WDPortalNavigationMode.SHOW_INPLACE,WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,<<parameters>>);
User can navigate back to iview1 by clicking 'Back' button in iview2.
However, this results in loss of any unsaved data, like search result, in iview1.
When I change WDPortalNavigationMode to SHOW_HEADERLESS_PORTAL unsaved data is not lost but iview opens in new window.Same is the case with setting work protect mode to STANDARD.
Can we preserve unsaved data while navigating to other iview in the same window?Is it possible?
Thanks in advance,
Apurva
You can use workprotect mode. http://help.sap.com/saphelp_nw2004s/helpdata/en/88/585d420447e054e10000000a155106/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhilash
I cant do that as two iview corrosponds to applications in different projects.So,I am using portal navigation.
Thanks,
Apurva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you are correct with portal navigation we cannot use Controllers.
In that case the best approach could be using Interface Controller where you pass all the data from View1 to View2 before navigating and on Back action remap the values to interface controller so that you can see the same data again.
Regards
Abhilash
Hi
I have tried changing work protect mode to STANDARD, but with this iview is opened in new window and not in same window.
I need to display second iview in same window according to business requirements.
Regards,
Apurva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.