Skip to Content
author's profile photo Former Member
Former Member

Cache-handling in EP6 SP2

Hi,

we've made a wizard-application with pages containing HTMLB-code for info- and input-fields, and java-code for handling the user-input. When I load the application in an Iview it all works fine. The problem is when the Iview is closed and opened again, then instead of a "fresh" application/page the last page that was open including the user-input is shown.

To "reset" the application I either have to upload the par-file again, or select it under "Archive Deployment Checker" and press update in the component manager-page.

My guess is that this has to do with cache-handling, and since I'm quite new to SAP EP6-development I wondered if anyone could give me some hints on how to avoid this type of problem ?

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 23, 2004 at 08:16 AM

    It could be that beans put in the component session for retrieval in the jsp, are remember on the next view of the iview. It is therefore necessary to do some reset work in the doInitialization method.

    Could you post some of your code (especially doInitialization and the way you transfer data to the jsp)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      From what I can see it looks ok (although its been some time since I've been programming something like this). Just a few comments:

      1. What does the setBeanFromProfile(myProfile, myProdInputBean) function do ?

      2. Try adding some debug code in the doInitialization code, which checks if "ProductInputBean" is in the IPortalComponentContext

      3. Check that the iview isn't cached in someway

      hopes this helps

  • author's profile photo Former Member
    Former Member
    Posted on Mar 26, 2004 at 03:05 PM

    The solution seems to be to change the scope from application to session.

    Thanks for helping.

    Add comment
    10|10000 characters needed characters exceeded