Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
oblomov-dev committed Mar 1, 2024
1 parent 90acc78 commit d06df23
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 28 deletions.
2 changes: 0 additions & 2 deletions src/z2ui5_cl_demo_app_008.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ CLASS Z2UI5_CL_DEMO_APP_008 IMPLEMENTATION.
shownavbutton = abap_true
)->header_content(
)->link(
text = 'Source_Code' target = '_blank'

)->get_parent( ).

IF check_strip_active = abap_true.
Expand Down
4 changes: 2 additions & 2 deletions src/z2ui5_cl_demo_app_012.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ CLASS Z2UI5_CL_DEMO_APP_012 IMPLEMENTATION.
)->label( 'Demo'
)->button(
text = 'popup rendering, no background rendering'
press = client->_event( val = 'BUTTON_POPUP_01' check_view_destroy = abap_true )
press = client->_event( val = 'BUTTON_POPUP_01' s_ctrl = value #( check_view_destroy = abap_true ) )
)->label( 'Demo'
)->button(
text = 'popup rendering, background destroyed and rerendering'
press = client->_event( val = 'BUTTON_POPUP_02' check_view_destroy = abap_true )
press = client->_event( val = 'BUTTON_POPUP_02' s_ctrl = value #( check_view_destroy = abap_true ) )
)->label( 'Demo'
)->button(
text = 'popup, background unchanged (default) - close (no roundtrip)'
Expand Down
20 changes: 1 addition & 19 deletions src/z2ui5_cl_demo_app_033.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,10 @@ CLASS z2ui5_cl_demo_app_033 IMPLEMENTATION.

DATA(view) = z2ui5_cl_xml_view=>factory( ).

* DATA(page2) = view->shell( )->page( ).
*
* page2->illustrated_message(
* title = `HTTP 500 - Server Error`
* enableformattedtext = abap_true
* description = mv_html
* illustrationtype = `sapIllus-ErrorScreen`
* illustrationsize = `Dot`
* )->additional_content(
* )->button(
* text = 'Home'
* type = `Emphasized`
* press = client->__event_frontend( client->cs_event-leave_home ) ).
*
* client->set_view( view->stringify( ) ).
*
* RETURN.

DATA(page) = view->shell(
)->page(
title = 'abap2UI5 - Illustrated Messages'
navbuttonpress = client->_event( val = 'BACK' check_view_destroy = abap_true )
navbuttonpress = client->_event( val = 'BACK' s_ctrl = value #( check_view_destroy = abap_true ) )
shownavbutton = abap_true
)->header_content(
)->link(
Expand Down
2 changes: 1 addition & 1 deletion src/z2ui5_cl_demo_app_038.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ CLASS Z2UI5_CL_DEMO_APP_038 IMPLEMENTATION.
groupitems = abap_true
placement = `Top`
initiallyexpanded = abap_true
beforeclose = client->_event( val = 'POPOVER_CLOSE' check_view_destroy = abap_false )
beforeclose = client->_event( val = 'POPOVER_CLOSE' s_ctrl = value #( check_view_destroy = abap_true ) )
)->message_item(
type = `{TYPE}`
title = `{TITLE}`
Expand Down
6 changes: 2 additions & 4 deletions src/z2ui5_cl_demo_app_061.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ CLASS z2ui5_cl_demo_app_061 DEFINITION PUBLIC.

PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.

* DATA t_tab2 TYPE REF TO data.

METHODS set_view.

PRIVATE SECTION.
ENDCLASS.

Expand Down Expand Up @@ -51,7 +49,7 @@ CLASS z2ui5_cl_demo_app_061 IMPLEMENTATION.
)->toolbar_spacer(
)->button(
text = `server <-> client`
press = client->_event( val = 'SEND' check_view_destroy = abap_true )
press = client->_event( val = 'SEND' s_ctrl = value #( check_view_destroy = abap_true ) )
)->get_parent( )->get_parent( ).

tab->columns(
Expand Down

0 comments on commit d06df23

Please sign in to comment.