Eventhandler OnInputProcessing (ResultPage.htm)

DATA:
  event TYPE REF TO cl_htmlb_event,
  button_event TYPE REF TO cl_htmlb_event_button.
IF event_id cl_htmlb_manager=>event_id.
  event ?= cl_htmlb_manager=>get_event(
  runtime->server->request ).
  IF event->name 'button' AND event->event_type 'click'.
    button_event ?= event.
  ENDIF.
ENDIF.

IF button_event IS BOUND.
  CASE button_event->id.
    WHEN 'Back'.
      navigation->goto_page'StartPage.htm').
    WHEN 'Exit'.
      navigation->exit'http://www.fh-wedel.de').
  ENDCASE.
ENDIF.