
OnRequest is run when a request comes to access the current page. This request can be made in the following ways:
The URL is entered in the browser. In this case, OnInitialization is run after OnRequest.
The user inputs data on a page (current page or other pages). In this case, OnRequestOnInputProcessing is run after OnRequest.
See also:
OnRequest is the second handler (after OnCreate) to be called when a BSP is being processed.
The only exception to this occurs when a page is recalled in stateful mode without explicit navigation. In this case, OnCreate is skipped and OnRequest is called straight away.
You can access the following objects in the implementation toolbar:
|
Object |
Reference Type |
Description |
|
APPLICATION |
type ref to application class |
The Application class means the individual application class entered in the BSP application. If there is no application class in the BSP application, this means that the Object application is not available. |
|
RUNTIME |
type ref to IF_BSP_RUNTIME |
Defined in interface IF_BSP_RUNTIME is the runtime object. |
|
REQUEST |
type ref to IF_HTTP_REQUEST |
Defined in interface IF_HTTP_REQUEST is the request object. |
|
EVENT_ID |
type STRING |
|
|
NAVIGATION |
type ref to IF_BSP_NAVIGATION |
Defined in interface IF_BSP_NAVIGATION is the navigation object. |
|
PAGE |
type ref to IF_BSP_PAGE |
Defined in interface IF_BSP_PAGE is the page object. |
|
PAGE_CONTEXT |
type ref to IF_BSP_PAGE_CONTEXT |
Defined in interface IF_BSP_PAGE_CONTEXT is the page context object. |