Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    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 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>