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

Page refresh.....

Hi,

We are developing a BSP application in which main page contains two frames. In the left side narrow frame we display links using a static tree and in the right side wide frame we are displaying the page with contanet. In the static tree when a click a tree node it opens a page in the next frame. The problem is after doing some processing in one page and I am moving to another page by pressing the link in the tree. When I come to the previous page again, the data reamins there. I want to be cleared when I revisit the page by pressing the link. I tried the options like clearing onInitialization, but it's causing the problems when ever page refreshes in between. Is there any other option to do that? And the same case with tab strip also. I am having a tabstrip with 5 tabs on a page. When I move from one tab to another tab, I want to clear the data of the previous tab.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2005 at 01:51 PM

    Hi Marcus,

    Thanks for help.In my static tree links I coded like this.

    Link = "target.htm?init=X".

    target = "content" (right side window)

    It's working fine but in My page I am having buttons which will call FM and fill the returned data on the screen table view. While doing that it's triggering the onInitialization and surprisingly it's also passing init. I mean while displaying the page I can see in the below status bar, I can see it's opening page target.htm?init=X. Even I am not pressing the link while refreshing, it's refreshing the page like that only. Any idea what happening?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 02, 2005 at 10:14 AM

    Hi,

    i solved this problem by a little workaround, i have a page attribut INIT ( Type Flag) in every site. every time

    i want to have a initial Site a call the site with "test.htm?init=X" ( e.g. in Menu, TabStrip,Link,...)

    in the event OnInitialization i have the following code at start:

    if init is not inital.

    free application->DATA.

    ...

    free init.

    endif.

    So i can decide where i want a initalization of my data and not just when ever i refresh my site.

    Regards Marcus

    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.