Skip to Content
avatar image
Former Member

Data lost after navigating to other iview

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Aug 22, 2007 at 02:37 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 23, 2007 at 09:58 AM

    Hi Abhilash

    I cant do that as two iview corrosponds to applications in different projects.So,I am using portal navigation.

    Thanks,

    Apurva

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Aug 22, 2007 at 02:53 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Why dont you map these fileds to Component Controller? So that data is available even naviagated to different view.

      Regards

      Abhilash