Skip to content

Commit

Permalink
Update Demo 300 and 301 (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
francisco-milan authored Oct 15, 2024
1 parent 2ce7a22 commit bf79eae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/z2ui5_cl_demo_app_000.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ENDCLASS.



CLASS Z2UI5_CL_DEMO_APP_000 IMPLEMENTATION.
CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.


METHOD z2ui5_if_app~main.
Expand Down
8 changes: 4 additions & 4 deletions src/z2ui5_cl_demo_app_300.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,10 @@ CLASS z2ui5_cl_demo_app_300 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'handleStatusPressed'.
client->message_box_display( title = `Error description` "#TO_DO: Use Dialog instead of Mesage_Box, in order to display custom title instead of default title, and to hide information icon.
* client->dialog_display( title = `Error description`
text = `Product was damaged along transportation.`
).
client->message_box_display( title = `Error description`
type = `` "Keep this empty to use the custom title instead of the default message type as title
text = `Product was damaged along transportation.`
actions = VALUE string_table( ( `OK ` ) ) ). "Add space after 'OK' to prevent the button type from being 'Emphasized'
ENDCASE.

ENDMETHOD.
Expand Down
2 changes: 1 addition & 1 deletion src/z2ui5_cl_demo_app_301.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ENDCLASS.



CLASS Z2UI5_CL_DEMO_APP_301 IMPLEMENTATION.
CLASS z2ui5_cl_demo_app_301 IMPLEMENTATION.


METHOD display_view.
Expand Down

0 comments on commit bf79eae

Please sign in to comment.