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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.