on 09-26-2008 8:57 AM
iam new to BSP. iam using below code.
DATA: event TYPE REF TO CL_HTMLB_EVENT.
event = CL_HTMLB_MANAGER=>get_event
( runtime->server->request ).
IF event->name = 'button' AND event->event_type = 'click'.
DATA: button_e TYPE REF TO CL_HTMLB_EVENT_BUTTON.
button_e ?= event.
ENDIF.
i checked method get_event it contains importing paramter as "request".it assigned to interface IF_HTTP_REQUEST.in interface i checked for"runtime" variable but i did not find.Can anybody expain me coding event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
Thanks in Advance,
Suresh
Hi suresh,
did u set the Onclick Property to layout code
Sri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can even use ( request ) , with out using the
( runtime->server->request ) .
runtime is of type ref to IF_BSP_RUNTIME
server is of type ref to IF_HTTP_SERVER(it is an attribute of runtime)
request is of type ref to IF_HTTP_REQUEST(this is attribute of server )
some times request is not available directly in the event method. if the runtime object is available. then we can use the runtime object and get the request.
runtime->server->request will give the request object.
Hi,
Thanks vijay.
Regards,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.