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

Internal Tables - Keeping the contents


I've got a BSP which uses htmlb tabstrip. The first tab displayed the contents of an internal table loaded from complex select with joins. The second tab displays the contents of the itab and allows selection, which in the event provides input for a further process.

I've put the initial selection in the CREATE event but I can't stop the application re-selecting when I click the second tab - what could I be doing wrong?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2005 at 01:15 PM

    The key is where you are doing your processing.

    Have a look at these definitions:

    OnCreate: Is triggered directly after the page is created. Effectively a constructor. If you are stateful, and you do not flag otherwise, pages are created only once and cached. As such, only one onCreate event. Here you will do things such as read your data from the database into a page attribute.

    OnRequest: Not really used anymore. It is there because of things that never was allowed to leave the lab. No questions on this.

    OnInputProcessing: This guy is only called for event handling. At a very technical level: it is only called if the formfield onInputProcessing is in the incoming request. Otherwise, no event, and no jump in here.

    OnInitialization: This guy is called every request/response cycle. Here theorectically, if there was an event, it has been processed. Now we are preparing the data (page attributes) for the layout handling.

    OnLayout: This is the actual call to the code we generate for the layout. Renders out that nice HTML you are writing.

    OnManipulation: see onRequest.

    OnDestroy: See onCreate. Not always of use, as we can not gaurantee it will be called.

    I would also suggest you look at this">tutorial>

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Not a problem we were all there at one point 😊

      You might want to check out this weblog as well

      <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">BSP Trouble Shooting: Getting Help</a>

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.