Skip to Content
avatar image
Former Member

Tab UI element

Hi Expets,

Can we avoid server hitting when navigating between tabs.

I mean we have two tabs, tab1 and tab2. When the user clicks on tab1, it displays some data. Now when the user navigates to tab2, performs some operation and wants to navigate to tab1. So when the user clicks on tab1, there will be hit to the server. But I don't want to hit the server again and wants to display the previous data without hitting server. Is this possible in Webdynpro or with any feature in CE 7.2

I request to give your suggestions in acheiving this functionality.

Regards

V. Suresh Kumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 13, 2011 at 05:56 AM

    Do you have an action assigned to the TabStrip`s onSelect event?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Suresh,

      I doubt that asynchronous view will be very useful in such case because it provides the asynchronous functionality to the elements inside the single view i mean elements inside the asynch view but for two different view in your case two different tabs which contains two different views it won't be much helpful that is my opinion. Please do explore the possibilities and workaround for your case if available.

      Regards

      Jeetendra

  • avatar image
    Former Member
    Apr 13, 2011 at 08:32 AM

    Dear Suresh,

    If you have assiged the onSelect event to the tab you cannot stop the eventing.

    But, you can definately reduce the response time by not calling the DC everytime you select the Tab.

    For this you can set a flag in the onSelect event when called first time, and then based on the flag you can can call the DC.

    Hope it helps!

    Warm Regards,

    Upendra Agrawal

    Add comment
    10|10000 characters needed characters exceeded