Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new-ui5 #380

Merged
merged 1 commit into from
Sep 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions src/z2ui5_cl_demo_app_071.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,21 @@ CLASS z2ui5_cl_demo_app_071 IMPLEMENTATION.
METHOD z2ui5_if_app~main.

CASE client->get( )-event.
WHEN `UPDATE2`.
WHEN `UPDATE`.
client->follow_up_action( client->_event_client(
val = `SET_SIZE_LIMIT`
t_arg = value #( ( conv #( mv_set_size_limit ) ) )
) ).
client->view_model_update( ).
RETURN.
client->message_toast_display( `SizeLimitUpdated` ).
* RETURN.

WHEN 'BACK'.
client->nav_app_leave( ).
RETURN.
ENDCASE.

client->message_toast_display( `View updated` ).


DATA(lt_combo) = VALUE ty_T_combo( ).
DO mv_combo_number TIMES.
Expand All @@ -62,12 +67,9 @@ CLASS z2ui5_cl_demo_app_071 IMPLEMENTATION.
)->item( key = '{KEY}' text = '{TEXT}'
)->get_parent( )->get_parent(
)->button(
text = 'update'
text = 'Press 2x update'
press = client->_event( val = 'UPDATE' )
* )->button(
* text = 'update model'
* press = client->_event( val = 'UPDATE2' )
)->stringify( ) s_config = VALUE #( set_size_limit = mv_set_size_limit ) ).
)->stringify( ) ).

ENDMETHOD.
ENDCLASS.