diff --git a/src/01/01/z2ui5_cl_demo_app_009.clas.abap b/src/01/01/z2ui5_cl_demo_app_009.clas.abap index e3ce4f87..4b91821e 100644 --- a/src/01/01/z2ui5_cl_demo_app_009.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_009.clas.abap @@ -182,7 +182,7 @@ CLASS z2ui5_cl_demo_app_009 IMPLEMENTATION. form->label( `Input with suggestion items` )->input( - value = client->_bind_edit( s_screen-color_01 ) + value = client->_bind( s_screen-color_01 ) placeholder = `fill in your favorite colour` suggestionitems = client->_bind( t_suggestion ) showsuggestion = abap_true @@ -194,25 +194,25 @@ CLASS z2ui5_cl_demo_app_009 IMPLEMENTATION. form->label( `Input only numbers allowed` )->input( - value = client->_bind_edit( s_screen-quantity ) + value = client->_bind( s_screen-quantity ) type = `Number` placeholder = `quantity` ). form->label( `Input with value` )->input( - value = client->_bind_edit( s_screen-color_02 ) + value = client->_bind( s_screen-color_02 ) placeholder = `fill in your favorite colour` showvaluehelp = abap_true valuehelprequest = client->_event( `POPUP_TABLE_VALUE` ) ). form->label( `Custom value Popup` )->input( - value = client->_bind_edit( s_screen-name ) + value = client->_bind( s_screen-name ) placeholder = `name` showvaluehelp = abap_true valuehelprequest = client->_event( `POPUP_TABLE_VALUE_CUSTOM` ) )->input( - value = client->_bind_edit( s_screen-lastname ) + value = client->_bind( s_screen-lastname ) placeholder = `lastname` showvaluehelp = abap_true valuehelprequest = client->_event( `POPUP_TABLE_VALUE_CUSTOM` ) ). @@ -242,7 +242,7 @@ CLASS z2ui5_cl_demo_app_009 IMPLEMENTATION. DATA(dialog) = popup->dialog( `abap2UI5 - Value Help` ). DATA(tab) = dialog->table( mode = `SingleSelectLeft` - items = client->_bind_edit( t_suggestion_sel ) ). + items = client->_bind( t_suggestion_sel ) ). tab->columns( )->column( `20rem` @@ -274,7 +274,7 @@ CLASS z2ui5_cl_demo_app_009 IMPLEMENTATION. dialog->simple_form( )->label( `Location` )->input( - value = client->_bind_edit( s_screen-city ) + value = client->_bind( s_screen-city ) suggestionitems = client->_bind( t_cities ) showsuggestion = abap_true )->get( @@ -290,7 +290,7 @@ CLASS z2ui5_cl_demo_app_009 IMPLEMENTATION. DATA(tab) = dialog->table( headertext = `Employees` mode = `SingleSelectLeft` - items = client->_bind_edit( t_employees_sel ) ). + items = client->_bind( t_employees_sel ) ). tab->columns( )->column( `10rem` diff --git a/src/01/01/z2ui5_cl_demo_app_024.clas.abap b/src/01/01/z2ui5_cl_demo_app_024.clas.abap index 1088512a..06bb39a5 100644 --- a/src/01/01/z2ui5_cl_demo_app_024.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_024.clas.abap @@ -107,12 +107,12 @@ CLASS Z2UI5_CL_DEMO_APP_024 IMPLEMENTATION. text = `call new app (set Event)` press = client->_event( `CALL_NEW_APP_EVENT` ) )->label( `Demo` - )->input( client->_bind_edit( input ) + )->input( client->_bind( input ) )->button( text = `call new app (set data)` press = client->_event( `CALL_NEW_APP_READ` ) )->label( `some data, you can read in the next app` - )->input( client->_bind_edit( input2 ) ). + )->input( client->_bind( input2 ) ). client->view_display( view->stringify( ) ). diff --git a/src/01/01/z2ui5_cl_demo_app_025.clas.abap b/src/01/01/z2ui5_cl_demo_app_025.clas.abap index ad775f51..0eb9617d 100644 --- a/src/01/01/z2ui5_cl_demo_app_025.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_025.clas.abap @@ -99,7 +99,7 @@ CLASS z2ui5_cl_demo_app_025 IMPLEMENTATION. text = `read` press = client->_event( `BUTTON_READ_PREVIOUS` ) )->label( `Call previous app and show data of this app` - )->input( client->_bind_edit( input ) + )->input( client->_bind( input ) )->button( text = `back` press = client->_event( `BACK_WITH_EVENT` ) ). diff --git a/src/01/01/z2ui5_cl_demo_app_026.clas.abap b/src/01/01/z2ui5_cl_demo_app_026.clas.abap index decd1723..4037ab1e 100644 --- a/src/01/01/z2ui5_cl_demo_app_026.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_026.clas.abap @@ -102,7 +102,7 @@ CLASS z2ui5_cl_demo_app_026 IMPLEMENTATION. text = `Documentation UI5 Popover Control` href = `https://openui5.hana.ondemand.com/entity/sap.m.Popover` )->label( `placement` - )->segmented_button( client->_bind_edit( placement ) + )->segmented_button( client->_bind( placement ) )->items( )->segmented_button_item( key = `Left` diff --git a/src/01/01/z2ui5_cl_demo_app_047.clas.abap b/src/01/01/z2ui5_cl_demo_app_047.clas.abap index e1389476..d91dfc79 100644 --- a/src/01/01/z2ui5_cl_demo_app_047.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_047.clas.abap @@ -40,7 +40,7 @@ CLASS Z2UI5_CL_DEMO_APP_047 IMPLEMENTATION. dec2 = 2 / 3. mt_tab = VALUE #( ( date = sy-datum time = sy-uzeit ) ). - client->_bind_edit( mt_tab ). + client->_bind( mt_tab ). ENDIF. CASE client->get( )-event. @@ -68,23 +68,23 @@ CLASS Z2UI5_CL_DEMO_APP_047 IMPLEMENTATION. )->content( `form` )->title( `Input` )->label( `integer` - )->input( client->_bind_edit( int1 ) - )->input( client->_bind_edit( int2 ) + )->input( client->_bind( int1 ) + )->input( client->_bind( int2 ) )->input( enabled = abap_false - value = client->_bind_edit( int_sum ) + value = client->_bind( int_sum ) )->button( text = `calc sum` press = client->_event( `BUTTON_INT` ) )->label( `decimals` - )->input( client->_bind_edit( dec1 ) - )->input( client->_bind_edit( dec2 ) + )->input( client->_bind( dec1 ) + )->input( client->_bind( dec2 ) )->input( enabled = abap_false - value = client->_bind_edit( dec_sum ) + value = client->_bind( dec_sum ) )->button( text = `calc sum` press = client->_event( `BUTTON_DEC` ) )->label( `date` - )->input( client->_bind_edit( date ) + )->input( client->_bind( date ) )->label( `time` - )->input( client->_bind_edit( time ) ). + )->input( client->_bind( time ) ). DATA(tab) = page->scroll_container( height = `70%` vertical = abap_true @@ -92,7 +92,7 @@ CLASS Z2UI5_CL_DEMO_APP_047 IMPLEMENTATION. growing = abap_true growingthreshold = `20` growingscrolltoload = abap_true - items = client->_bind_edit( mt_tab ) + items = client->_bind( mt_tab ) sticky = `ColumnHeaders,HeaderToolbar` ). tab->columns( diff --git a/src/01/01/z2ui5_cl_demo_app_052.clas.abap b/src/01/01/z2ui5_cl_demo_app_052.clas.abap index 9f2fe84d..303b686f 100644 --- a/src/01/01/z2ui5_cl_demo_app_052.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_052.clas.abap @@ -83,7 +83,7 @@ CLASS z2ui5_cl_demo_app_052 IMPLEMENTATION. DATA(cont) = page->content( `f` ). DATA(tab) = cont->table( id = `tab` - items = client->_bind_edit( val = mt_table ) ). + items = client->_bind( val = mt_table ) ). DATA(lo_columns) = tab->columns( ). lo_columns->column( )->text( `Product` ). diff --git a/src/01/01/z2ui5_cl_demo_app_061.clas.abap b/src/01/01/z2ui5_cl_demo_app_061.clas.abap index fbea1e82..b3e510d5 100644 --- a/src/01/01/z2ui5_cl_demo_app_061.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_061.clas.abap @@ -38,7 +38,7 @@ CLASS Z2UI5_CL_DEMO_APP_061 IMPLEMENTATION. class = `sapUiSmallMargin` ). DATA(tab) = page->table( - items = client->_bind_edit( ) + items = client->_bind( ) mode = `MultiSelect` )->header_toolbar( )->overflow_toolbar( diff --git a/src/01/01/z2ui5_cl_demo_app_065.clas.abap b/src/01/01/z2ui5_cl_demo_app_065.clas.abap index 9a345846..2791e4a9 100644 --- a/src/01/01/z2ui5_cl_demo_app_065.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_065.clas.abap @@ -44,13 +44,13 @@ CLASS z2ui5_cl_demo_app_065 IMPLEMENTATION. press = client->_event( `NEST` ) )->button( text = `Update only nested MODEL (nest_view_model_update)` press = client->_event( `NEST_MODEL` ) - )->input( client->_bind_edit( mv_input_main ) ). + )->input( client->_bind( mv_input_main ) ). DATA(lo_view_nested) = z2ui5_cl_xml_view=>factory( )->page( `Nested View` )->button( text = `event` press = client->_event( `TEST` ) - )->input( client->_bind_edit( mv_input_nest ) ). + )->input( client->_bind( mv_input_nest ) ). IF client->check_on_init( ). client->view_display( lo_view->stringify( ) ). diff --git a/src/01/01/z2ui5_cl_demo_app_067.clas.abap b/src/01/01/z2ui5_cl_demo_app_067.clas.abap index 52e32177..676fa021 100644 --- a/src/01/01/z2ui5_cl_demo_app_067.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_067.clas.abap @@ -46,49 +46,49 @@ CLASS Z2UI5_CL_DEMO_APP_067 IMPLEMENTATION. href = `https://sapui5.hana.ondemand.com/#/entity/sap.ui.model.type.Currency` )->label( `One field` )->input( - |\{ parts: [ '{ client->_bind_edit( val = amount - path = abap_true ) }', '{ client->_bind_edit( + |\{ parts: [ '{ client->_bind( val = amount + path = abap_true ) }', '{ client->_bind( val = currency path = abap_true ) }'], type: 'sap.ui.model.type.Currency' \}| )->label( `Two field` )->input( - |\{ parts: [ '{ client->_bind_edit( val = amount - path = abap_true ) }', '{ client->_bind_edit( + |\{ parts: [ '{ client->_bind( val = amount + path = abap_true ) }', '{ client->_bind( val = currency path = abap_true ) }'], type: 'sap.ui.model.type.Currency' , formatOptions: \{showMeasure: false\} \}| )->input( - |\{ parts: [ '{ client->_bind_edit( val = amount - path = abap_true ) }', '{ client->_bind_edit( + |\{ parts: [ '{ client->_bind( val = amount + path = abap_true ) }', '{ client->_bind( val = currency path = abap_true ) }'], type: 'sap.ui.model.type.Currency' , formatOptions: \{showNumber: false\} \}| )->label( `Default` )->text( - |\{ parts: [ '{ client->_bind_edit( val = amount - path = abap_true ) }', '{ client->_bind_edit( + |\{ parts: [ '{ client->_bind( val = amount + path = abap_true ) }', '{ client->_bind( val = currency path = abap_true ) }'], type: 'sap.ui.model.type.Currency' \}| )->label( `preserveDecimals:false` - )->text( |\{ parts: [ '{ client->_bind_edit( val = amount - path = abap_true ) }', '| && client->_bind_edit( + )->text( |\{ parts: [ '{ client->_bind( val = amount + path = abap_true ) }', '| && client->_bind( val = currency path = abap_true ) && |'], type: 'sap.ui.model.type.Currency' , formatOptions: \{ preserveDecimals : false \} \}| )->label( `currencyCode:false` - )->text( |\{ parts: [ '{ client->_bind_edit( val = amount - path = abap_true ) }', '| && client->_bind_edit( + )->text( |\{ parts: [ '{ client->_bind( val = amount + path = abap_true ) }', '| && client->_bind( val = currency path = abap_true ) && |'], type: 'sap.ui.model.type.Currency' , formatOptions: \{ currencyCode : false \} \}| )->label( `style:'short'` )->text( - |\{ parts: [ '{ client->_bind_edit( val = amount - path = abap_true ) }', '{ client->_bind_edit( + |\{ parts: [ '{ client->_bind( val = amount + path = abap_true ) }', '{ client->_bind( val = currency path = abap_true ) }'], type: 'sap.ui.model.type.Currency' , formatOptions: \{ style : 'short' \} \}| )->label( `style:'long'` )->text( - |\{ parts: [ '{ client->_bind_edit( val = amount - path = abap_true ) }', '{ client->_bind_edit( + |\{ parts: [ '{ client->_bind( val = amount + path = abap_true ) }', '{ client->_bind( val = currency path = abap_true ) }'], type: 'sap.ui.model.type.Currency' , formatOptions: \{ style : 'long' \} \}| )->label( `event` @@ -103,12 +103,12 @@ CLASS Z2UI5_CL_DEMO_APP_067 IMPLEMENTATION. )->link( text = `https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.model.odata.type.String%23methods/formatValue` href = `https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.model.odata.type.String%23methods/formatValue` )->label( `Numeric` - )->input( client->_bind_edit( val = numeric ) + )->input( client->_bind( val = numeric ) )->label( `Without leading Zeros` )->text( - |\{path : '{ client->_bind_edit( + |\{path : '{ client->_bind( val = numeric path = abap_true ) }', type : 'sap.ui.model.odata.type.String', constraints : \{ isDigitSequence : true \} \}| ). diff --git a/src/01/01/z2ui5_cl_demo_app_071.clas.abap b/src/01/01/z2ui5_cl_demo_app_071.clas.abap index e77b9f4f..53a81e1e 100644 --- a/src/01/01/z2ui5_cl_demo_app_071.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_071.clas.abap @@ -68,12 +68,12 @@ CLASS Z2UI5_CL_DEMO_APP_071 IMPLEMENTATION. )->title( `Input` )->label( `Link` )->label( `setSizeLimit` - )->input( client->_bind_edit( mv_set_size_limit ) + )->input( client->_bind( mv_set_size_limit ) )->button( text = `update size limit` press = client->_event( val = `UPDATE` ) )->label( `Number of Entries` - )->input( client->_bind_edit( mv_combo_number ) + )->input( client->_bind( mv_combo_number ) )->button( text = `update number entries` press = client->_event( val = `UPDATE_MODEL` ) diff --git a/src/01/01/z2ui5_cl_demo_app_081.clas.abap b/src/01/01/z2ui5_cl_demo_app_081.clas.abap index 1acc4a17..427e41aa 100644 --- a/src/01/01/z2ui5_cl_demo_app_081.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_081.clas.abap @@ -68,7 +68,7 @@ CLASS z2ui5_cl_demo_app_081 IMPLEMENTATION. title = `Popover Title` placement = mv_placement )->list( - items = client->_bind_edit( mt_tab ) + items = client->_bind( mt_tab ) selectionchange = client->_event( val = `SEL_CHANGE` ) mode = `SingleSelectMaster` )->standard_list_item( @@ -107,7 +107,7 @@ CLASS z2ui5_cl_demo_app_081 IMPLEMENTATION. )->link( text = `Documentation UI5 Popover Control` href = `https://openui5.hana.ondemand.com/entity/sap.m.Popover` )->label( `placement` - )->segmented_button( client->_bind_edit( mv_placement ) + )->segmented_button( client->_bind( mv_placement ) )->items( )->segmented_button_item( key = `Left` diff --git a/src/01/01/z2ui5_cl_demo_app_097.clas.abap b/src/01/01/z2ui5_cl_demo_app_097.clas.abap index 55a661b8..b08e1674 100644 --- a/src/01/01/z2ui5_cl_demo_app_097.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_097.clas.abap @@ -38,7 +38,7 @@ CLASS z2ui5_cl_demo_app_097 IMPLEMENTATION. DATA(page) = lo_view_nested->page( `Nested View` ). - DATA(tab) = page->ui_table( rows = client->_bind_edit( val = t_tab2 view = client->cs_view-nested ) + DATA(tab) = page->ui_table( rows = client->_bind( val = t_tab2 ) editable = abap_false alternaterowcolors = abap_true rowactioncount = `1` @@ -84,14 +84,14 @@ CLASS z2ui5_cl_demo_app_097 IMPLEMENTATION. showicon = abap_true class = `sapUiSmallMargin` ). - DATA(col_layout) = page->flexible_column_layout( layout = client->_bind_edit( mv_layout ) + DATA(col_layout) = page->flexible_column_layout( layout = client->_bind( mv_layout ) id = `test` ). DATA(lr_master) = col_layout->begin_column_pages( ). DATA(lr_list) = lr_master->list( headertext = `List Output` - items = client->_bind_edit( val = t_tab view = client->cs_view-main ) + items = client->_bind( val = t_tab ) mode = `SingleSelectMaster` selectionchange = client->_event( `SELCHANGE` ) )->standard_list_item( diff --git a/src/01/01/z2ui5_cl_demo_app_098.clas.abap b/src/01/01/z2ui5_cl_demo_app_098.clas.abap index 13a75888..0f9223c3 100644 --- a/src/01/01/z2ui5_cl_demo_app_098.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_098.clas.abap @@ -43,7 +43,7 @@ CLASS z2ui5_cl_demo_app_098 IMPLEMENTATION. DATA(page) = lo_view_nested->page( `Nested View` ). - DATA(tab) = page->ui_table( rows = client->_bind_edit( val = t_tab2 view = client->cs_view-nested ) + DATA(tab) = page->ui_table( rows = client->_bind( val = t_tab2 ) editable = abap_false alternaterowcolors = abap_true rowactioncount = `1` @@ -110,14 +110,14 @@ CLASS z2ui5_cl_demo_app_098 IMPLEMENTATION. showicon = abap_true class = `sapUiSmallMargin` ). - DATA(col_layout) = page->flexible_column_layout( layout = client->_bind_edit( mv_layout ) + DATA(col_layout) = page->flexible_column_layout( layout = client->_bind( mv_layout ) id = `test` ). DATA(lr_master) = col_layout->begin_column_pages( ). DATA(lr_list) = lr_master->list( headertext = `List Output` - items = client->_bind_edit( val = t_tab view = client->cs_view-main ) + items = client->_bind( val = t_tab ) mode = `SingleSelectMaster` selectionchange = client->_event( `SELCHANGE` ) )->standard_list_item( diff --git a/src/01/01/z2ui5_cl_demo_app_104.clas.abap b/src/01/01/z2ui5_cl_demo_app_104.clas.abap index ad335ba0..11834e1d 100644 --- a/src/01/01/z2ui5_cl_demo_app_104.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_104.clas.abap @@ -93,14 +93,14 @@ CLASS z2ui5_cl_demo_app_104 IMPLEMENTATION. showicon = abap_true class = `sapUiSmallMargin` ). - DATA(col_layout) = page->flexible_column_layout( layout = client->_bind_edit( mv_layout ) + DATA(col_layout) = page->flexible_column_layout( layout = client->_bind( mv_layout ) id = `test` ). DATA(lr_master) = col_layout->begin_column_pages( ). DATA(lr_list) = lr_master->list( headertext = `List Output` - items = client->_bind_edit( val = t_tab view = client->cs_view-main ) + items = client->_bind( val = t_tab ) mode = `SingleSelectMaster` selectionchange = client->_event( val = `SELCHANGE` ) )->standard_list_item( diff --git a/src/01/01/z2ui5_cl_demo_app_105.clas.abap b/src/01/01/z2ui5_cl_demo_app_105.clas.abap index 3953893b..df453a3c 100644 --- a/src/01/01/z2ui5_cl_demo_app_105.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_105.clas.abap @@ -30,7 +30,7 @@ CLASS z2ui5_cl_demo_app_105 IMPLEMENTATION. showicon = abap_true class = `sapUiSmallMargin` ). - mo_view_parent->input( value = client->_bind_edit( mv_class_1 ) + mo_view_parent->input( value = client->_bind( mv_class_1 ) placeholder = `Input From Class 1` ). ENDMETHOD. diff --git a/src/01/01/z2ui5_cl_demo_app_109.clas.abap b/src/01/01/z2ui5_cl_demo_app_109.clas.abap index bfc77e8f..8d40059b 100644 --- a/src/01/01/z2ui5_cl_demo_app_109.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_109.clas.abap @@ -85,7 +85,7 @@ CLASS z2ui5_cl_demo_app_109 IMPLEMENTATION. )->content( `form` )->title( `QuickView Popover` )->label( `placement` - )->segmented_button( client->_bind_edit( mv_placement ) + )->segmented_button( client->_bind( mv_placement ) )->items( )->segmented_button_item( key = `Left` diff --git a/src/01/01/z2ui5_cl_demo_app_112.clas.abap b/src/01/01/z2ui5_cl_demo_app_112.clas.abap index f49edc0a..80ece8ab 100644 --- a/src/01/01/z2ui5_cl_demo_app_112.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_112.clas.abap @@ -30,7 +30,7 @@ CLASS z2ui5_cl_demo_app_112 IMPLEMENTATION. showicon = abap_true class = `sapUiSmallMargin` ). - mo_view_parent->input( value = client->_bind_edit( mv_class_2 ) + mo_view_parent->input( value = client->_bind( mv_class_2 ) placeholder = `Input From Class 2` ). ENDMETHOD. diff --git a/src/01/01/z2ui5_cl_demo_app_122.clas.abap b/src/01/01/z2ui5_cl_demo_app_122.clas.abap index 264c6efe..7b01a27b 100644 --- a/src/01/01/z2ui5_cl_demo_app_122.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_122.clas.abap @@ -87,79 +87,79 @@ CLASS Z2UI5_CL_DEMO_APP_122 IMPLEMENTATION. )->content( `form` )->label( `device_browser` )->input( - value = client->_bind_edit( device_browser ) + value = client->_bind( device_browser ) enabled = abap_false )->label( `device_browser_version` )->input( - value = client->_bind_edit( device_browser_version ) + value = client->_bind( device_browser_version ) enabled = abap_false )->label( `device_os` )->input( - value = client->_bind_edit( device_os ) + value = client->_bind( device_os ) enabled = abap_false )->label( `device_os_version` )->input( - value = client->_bind_edit( device_os_version ) + value = client->_bind( device_os_version ) enabled = abap_false )->label( `device_systemtype` )->input( - value = client->_bind_edit( device_systemtype ) + value = client->_bind( device_systemtype ) enabled = abap_false )->label( `device_orientation` )->input( - value = client->_bind_edit( device_orientation ) + value = client->_bind( device_orientation ) enabled = abap_false )->label( `device_height` )->input( - value = client->_bind_edit( device_height ) + value = client->_bind( device_height ) enabled = abap_false )->label( `device_width` )->input( - value = client->_bind_edit( device_width ) + value = client->_bind( device_width ) enabled = abap_false )->label( `device_phone` )->input( - value = client->_bind_edit( device_phone ) + value = client->_bind( device_phone ) enabled = abap_false )->label( `device_desktop` )->input( - value = client->_bind_edit( device_desktop ) + value = client->_bind( device_desktop ) enabled = abap_false )->label( `device_tablet` )->input( - value = client->_bind_edit( device_tablet ) + value = client->_bind( device_tablet ) enabled = abap_false )->label( `device_combi` )->input( - value = client->_bind_edit( device_combi ) + value = client->_bind( device_combi ) enabled = abap_false )->label( `device_touch` )->input( - value = client->_bind_edit( device_touch ) + value = client->_bind( device_touch ) enabled = abap_false )->label( `device_pointer` )->input( - value = client->_bind_edit( device_pointer ) + value = client->_bind( device_pointer ) enabled = abap_false )->label( `device_retina` )->input( - value = client->_bind_edit( device_retina ) + value = client->_bind( device_retina ) enabled = abap_false )->label( `ui5_version` )->input( - value = client->_bind_edit( ui5_version ) + value = client->_bind( ui5_version ) enabled = abap_false )->label( `ui5_theme` )->input( - value = client->_bind_edit( ui5_theme ) + value = client->_bind( ui5_theme ) enabled = abap_false )->label( `ui5_gav` )->input( - value = client->_bind_edit( ui5_gav ) + value = client->_bind( ui5_gav ) enabled = abap_false )->label( `ui5_build_timestamp` )->input( - value = client->_bind_edit( ui5_build_timestamp ) + value = client->_bind( ui5_build_timestamp ) enabled = abap_false ). client->view_display( view->stringify( ) ). diff --git a/src/01/01/z2ui5_cl_demo_app_144.clas.abap b/src/01/01/z2ui5_cl_demo_app_144.clas.abap index 17a0e8bf..a030a97c 100644 --- a/src/01/01/z2ui5_cl_demo_app_144.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_144.clas.abap @@ -39,12 +39,12 @@ CLASS z2ui5_cl_demo_app_144 IMPLEMENTATION. LOOP AT t_tab REFERENCE INTO DATA(lr_row). DATA(lv_tabix) = sy-tabix. - page->input( client->_bind_edit( val = lr_row->title tab = t_tab tab_index = lv_tabix ) ). - page->input( client->_bind_edit( val = lr_row->value tab = t_tab tab_index = lv_tabix ) ). + page->input( client->_bind( val = lr_row->title tab = t_tab tab_index = lv_tabix ) ). + page->input( client->_bind( val = lr_row->value tab = t_tab tab_index = lv_tabix ) ). ENDLOOP. DATA(tab) = page->table( - items = client->_bind_edit( t_tab ) + items = client->_bind( t_tab ) mode = `MultiSelect` )->header_toolbar( )->overflow_toolbar( @@ -58,10 +58,10 @@ CLASS z2ui5_cl_demo_app_144 IMPLEMENTATION. )->input( `{TITLE}` )->input( `{VALUE}` ). - page->input( client->_bind_edit( val = t_tab[ 1 ]-title tab = t_tab tab_index = 1 ) ). - page->input( client->_bind_edit( val = t_tab[ 1 ]-value tab = t_tab tab_index = 1 ) ). - page->input( client->_bind_edit( val = t_tab[ 2 ]-title tab = t_tab tab_index = 2 ) ). - page->input( client->_bind_edit( val = t_tab[ 2 ]-value tab = t_tab tab_index = 2 ) ). + page->input( client->_bind( val = t_tab[ 1 ]-title tab = t_tab tab_index = 1 ) ). + page->input( client->_bind( val = t_tab[ 1 ]-value tab = t_tab tab_index = 1 ) ). + page->input( client->_bind( val = t_tab[ 2 ]-title tab = t_tab tab_index = 2 ) ). + page->input( client->_bind( val = t_tab[ 2 ]-value tab = t_tab tab_index = 2 ) ). client->view_display( view->stringify( ) ). diff --git a/src/01/01/z2ui5_cl_demo_app_166.clas.abap b/src/01/01/z2ui5_cl_demo_app_166.clas.abap index fc2f9810..b880fd13 100644 --- a/src/01/01/z2ui5_cl_demo_app_166.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_166.clas.abap @@ -51,17 +51,17 @@ CLASS z2ui5_cl_demo_app_166 IMPLEMENTATION. showicon = abap_true class = `sapUiSmallMargin` ). - page->input( client->_bind_edit( val = ms_struc-title ) ). - page->input( client->_bind_edit( val = ms_struc-value ) ). - page->input( client->_bind_edit( val = ms_struc-value2 ) ). + page->input( client->_bind( val = ms_struc-title ) ). + page->input( client->_bind( val = ms_struc-value ) ). + page->input( client->_bind( val = ms_struc-value2 ) ). - page->input( client->_bind_edit( val = ms_struc2-title ) ). - page->input( client->_bind_edit( val = ms_struc2-value ) ). - page->input( client->_bind_edit( val = ms_struc2-value2 ) ). + page->input( client->_bind( val = ms_struc2-title ) ). + page->input( client->_bind( val = ms_struc2-value ) ). + page->input( client->_bind( val = ms_struc2-value2 ) ). - page->input( client->_bind_edit( val = ms_struc2-incl_title ) ). - page->input( client->_bind_edit( val = ms_struc2-incl_value ) ). - page->input( client->_bind_edit( val = ms_struc2-incl_value2 ) ). + page->input( client->_bind( val = ms_struc2-incl_title ) ). + page->input( client->_bind( val = ms_struc2-incl_value ) ). + page->input( client->_bind( val = ms_struc2-incl_value2 ) ). client->view_display( view->stringify( ) ). diff --git a/src/01/01/z2ui5_cl_demo_app_167.clas.abap b/src/01/01/z2ui5_cl_demo_app_167.clas.abap index 97543f05..23bce6fd 100644 --- a/src/01/01/z2ui5_cl_demo_app_167.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_167.clas.abap @@ -42,10 +42,10 @@ CLASS Z2UI5_CL_DEMO_APP_167 IMPLEMENTATION. press = client->_event( val = `EVENT_FIX_VAL` t_arg = VALUE #( ( `FIX_VAL` ) ) ) ). - page->input( client->_bind_edit( mv_value ) ). + page->input( client->_bind( mv_value ) ). page->button( text = `EVENT_MODEL_VALUE` press = client->_event( val = `EVENT_MODEL_VALUE` t_arg = VALUE #( - ( `$` && client->_bind_edit( mv_value ) ) ) ) ). + ( `$` && client->_bind( mv_value ) ) ) ) ). page->button( text = `SOURCE_PROPERTY_TEXT` press = client->_event( val = `SOURCE_PROPERTY_TEXT` t_arg = VALUE #( diff --git a/src/01/01/z2ui5_cl_demo_app_173.clas.abap b/src/01/01/z2ui5_cl_demo_app_173.clas.abap index 6a646d0f..54297123 100644 --- a/src/01/01/z2ui5_cl_demo_app_173.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_173.clas.abap @@ -53,7 +53,7 @@ CLASS Z2UI5_CL_DEMO_APP_173 IMPLEMENTATION. showicon = abap_true class = `sapUiSmallMargin` ). - view->table( client->_bind_edit( mt_data ) + view->table( client->_bind( mt_data ) )->columns( )->template_repeat( list = `{template>/XX/MT_LAYOUT}` var = `L0` @@ -68,7 +68,7 @@ CLASS Z2UI5_CL_DEMO_APP_173 IMPLEMENTATION. )->object_identifier( text = `{= '{' + ${L1>FNAME} + '}' }` ). view->label( `IF Template (with re-rendering)` ). - view->switch( state = client->_bind_edit( mv_flag ) + view->switch( state = client->_bind( mv_flag ) change = client->_event( `CHANGE_FLAG` ) ). view = view->vbox( ). diff --git a/src/01/01/z2ui5_cl_demo_app_176.clas.abap b/src/01/01/z2ui5_cl_demo_app_176.clas.abap index 98f00dc3..ccb57c82 100644 --- a/src/01/01/z2ui5_cl_demo_app_176.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_176.clas.abap @@ -74,7 +74,7 @@ CLASS z2ui5_cl_demo_app_176 IMPLEMENTATION. DATA(lo_view_nested) = z2ui5_cl_xml_view=>factory( ). lo_view_nested->shell( )->page( `Nested View` - )->table( i_client->_bind_edit( mt_data ) + )->table( i_client->_bind( mt_data ) )->columns( )->template_repeat( list = `{template>/XX/MT_LAYOUT}` var = `LO` diff --git a/src/01/01/z2ui5_cl_demo_app_197.clas.abap b/src/01/01/z2ui5_cl_demo_app_197.clas.abap index c3830d1f..095a3ff2 100644 --- a/src/01/01/z2ui5_cl_demo_app_197.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_197.clas.abap @@ -62,7 +62,7 @@ CLASS z2ui5_cl_demo_app_197 IMPLEMENTATION. )->facet_filter_item( text = `{PRODUCT}` ). DATA(tab) = page->table( id = `tab` - items = client->_bind_edit( val = mt_table ) ). + items = client->_bind( val = mt_table ) ). DATA(lo_columns) = tab->columns( ). lo_columns->column( )->text( `Product` ). diff --git a/src/01/01/z2ui5_cl_demo_app_381.clas.abap b/src/01/01/z2ui5_cl_demo_app_381.clas.abap index 89a278d8..b27e50f7 100644 --- a/src/01/01/z2ui5_cl_demo_app_381.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_381.clas.abap @@ -102,18 +102,18 @@ CLASS z2ui5_cl_demo_app_381 IMPLEMENTATION. )->content( `form` ). form->label( `Message` - )->input( client->_bind_edit( message ) + )->input( client->_bind( message ) )->label( `Duration (ms)` )->input( - value = client->_bind_edit( duration ) + value = client->_bind( duration ) type = `Number` )->label( `Width` - )->input( client->_bind_edit( width ) ). + )->input( client->_bind( width ) ). DATA(select_my) = form->label( `my` - )->select( selectedkey = client->_bind_edit( my ) ). + )->select( selectedkey = client->_bind( my ) ). DATA(select_at) = form->label( `at` - )->select( selectedkey = client->_bind_edit( at ) ). + )->select( selectedkey = client->_bind( at ) ). LOOP AT get_positions( ) INTO DATA(position). select_my->item( @@ -125,10 +125,10 @@ CLASS z2ui5_cl_demo_app_381 IMPLEMENTATION. ENDLOOP. form->label( `offset` ). - form->input( client->_bind_edit( offset ) ). + form->input( client->_bind( offset ) ). DATA(select_animation) = form->label( `animationTimingFunction` - )->select( selectedkey = client->_bind_edit( animation_timing ) ). + )->select( selectedkey = client->_bind( animation_timing ) ). select_animation->item( key = `ease` text = `ease` )->item( key = `linear` text = `linear` )->item( key = `ease-in` text = `ease-in` @@ -137,10 +137,10 @@ CLASS z2ui5_cl_demo_app_381 IMPLEMENTATION. form->label( `animationDuration (ms)` )->input( - value = client->_bind_edit( animation_duration ) + value = client->_bind( animation_duration ) type = `Number` )->label( `autoClose` - )->checkbox( client->_bind_edit( autoclose ) ). + )->checkbox( client->_bind( autoclose ) ). form->button( text = `Show Message Toast` diff --git a/src/01/01/z2ui5_cl_demo_app_382.clas.abap b/src/01/01/z2ui5_cl_demo_app_382.clas.abap index 14010b63..63fb8d6d 100644 --- a/src/01/01/z2ui5_cl_demo_app_382.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_382.clas.abap @@ -91,12 +91,12 @@ CLASS z2ui5_cl_demo_app_382 IMPLEMENTATION. editable = abap_true )->content( `form` )->label( `Title` - )->input( client->_bind_edit( title ) + )->input( client->_bind( title ) )->label( `Message` - )->input( client->_bind_edit( message ) + )->input( client->_bind( message ) )->label( `Details` )->text_area( - value = client->_bind_edit( details ) + value = client->_bind( details ) rows = `3` ). page->footer( diff --git a/src/01/01/z2ui5_cl_demo_app_450.clas.abap b/src/01/01/z2ui5_cl_demo_app_450.clas.abap index 7a5a3330..cabdad96 100644 --- a/src/01/01/z2ui5_cl_demo_app_450.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_450.clas.abap @@ -61,7 +61,7 @@ CLASS z2ui5_cl_demo_app_450 IMPLEMENTATION. class = `sapUiSmallMargin` ). DATA(tab) = page->table( id = `productTable` - items = client->_bind_edit( t_products ) ). + items = client->_bind( t_products ) ). tab->columns( )->column( )->text( `Product` )->get_parent( diff --git a/src/01/01/z2ui5_cl_demo_app_453.clas.abap b/src/01/01/z2ui5_cl_demo_app_453.clas.abap index 7fedd6d0..4c618bac 100644 --- a/src/01/01/z2ui5_cl_demo_app_453.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_453.clas.abap @@ -74,7 +74,7 @@ CLASS z2ui5_cl_demo_app_453 IMPLEMENTATION. class = `sapUiSmallMargin` ). DATA(tab) = page->table( id = `productTable` - items = client->_bind_edit( t_products ) ). + items = client->_bind( t_products ) ). tab->columns( )->column( )->text( `Product` )->get_parent( diff --git a/src/01/01/z2ui5_cl_demo_app_456.clas.abap b/src/01/01/z2ui5_cl_demo_app_456.clas.abap index def16689..00829834 100644 --- a/src/01/01/z2ui5_cl_demo_app_456.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_456.clas.abap @@ -84,9 +84,9 @@ CLASS z2ui5_cl_demo_app_456 IMPLEMENTATION. page->planning_calendar( id = `PC1` class = `sapUiSmallMargin` - startdate = |\{ path: '{ client->_bind_edit( val = start_date path = abap_true ) }', | && + startdate = |\{ path: '{ client->_bind( val = start_date path = abap_true ) }', | && |formatter: 'Formatter.DateCreateObject' \}| - rows = client->_bind_edit( t_people ) + rows = client->_bind( t_people ) )->rows( )->planning_calendar_row( title = `{NAME}` diff --git a/src/01/01/z2ui5_cl_demo_app_457.clas.abap b/src/01/01/z2ui5_cl_demo_app_457.clas.abap index 15f99780..efe551e9 100644 --- a/src/01/01/z2ui5_cl_demo_app_457.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_457.clas.abap @@ -57,9 +57,9 @@ CLASS z2ui5_cl_demo_app_457 IMPLEMENTATION. " registered in the model and the frontend receives no data for it page->vbox( `sapUiSmallMargin` )->date_picker( displayformat = `long` - datevalue = |\{ path: '{ client->_bind_edit( val = date_iso path = abap_true ) }', | && + datevalue = |\{ path: '{ client->_bind( val = date_iso path = abap_true ) }', | && |formatter: 'Formatter.DateCreateObject' \}| - )->text( text = |Model value (unchanged string): { client->_bind_edit( date_iso ) }| + )->text( text = |Model value (unchanged string): { client->_bind( date_iso ) }| class = `sapUiTinyMarginTop` ). client->view_display( view->stringify( ) ). diff --git a/src/01/01/z2ui5_cl_demo_app_458.clas.abap b/src/01/01/z2ui5_cl_demo_app_458.clas.abap index 7b9a5c51..1a02ba40 100644 --- a/src/01/01/z2ui5_cl_demo_app_458.clas.abap +++ b/src/01/01/z2ui5_cl_demo_app_458.clas.abap @@ -51,7 +51,7 @@ CLASS z2ui5_cl_demo_app_458 IMPLEMENTATION. page->vbox( `sapUiSmallMargin` )->label( `Amount (integer only)` )->input( width = `12rem` - value = |\{ path: '{ client->_bind_edit( val = amount path = abap_true ) }', | && + value = |\{ path: '{ client->_bind( val = amount path = abap_true ) }', | && |type: 'sap.ui.model.type.Integer' \}| ). page->list( headertext = `Validation messages ({message>/})` diff --git a/src/01/02/z2ui5_cl_demo_app_006.clas.abap b/src/01/02/z2ui5_cl_demo_app_006.clas.abap index 502bbcac..fa873165 100644 --- a/src/01/02/z2ui5_cl_demo_app_006.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_006.clas.abap @@ -106,7 +106,7 @@ CLASS Z2UI5_CL_DEMO_APP_006 IMPLEMENTATION. growing = abap_true growingthreshold = `20` growingscrolltoload = abap_true - items = client->_bind_edit( t_tab ) + items = client->_bind( t_tab ) sticky = `ColumnHeaders,HeaderToolbar` ). tab->header_toolbar( diff --git a/src/01/02/z2ui5_cl_demo_app_011.clas.abap b/src/01/02/z2ui5_cl_demo_app_011.clas.abap index 280f848c..3ce3c6a1 100644 --- a/src/01/02/z2ui5_cl_demo_app_011.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_011.clas.abap @@ -48,7 +48,7 @@ CLASS Z2UI5_CL_DEMO_APP_011 IMPLEMENTATION. class = `sapUiSmallMargin` ). DATA(tab) = page->table( - items = |\{path: '{ client->_bind_edit( val = t_tab path = abap_true ) }', templateShareable: false\}| + items = |\{path: '{ client->_bind( val = t_tab path = abap_true ) }', templateShareable: false\}| mode = `MultiSelect` )->header_toolbar( )->overflow_toolbar( diff --git a/src/01/02/z2ui5_cl_demo_app_019.clas.abap b/src/01/02/z2ui5_cl_demo_app_019.clas.abap index 33f7d6a7..53f57916 100644 --- a/src/01/02/z2ui5_cl_demo_app_019.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_019.clas.abap @@ -43,7 +43,7 @@ CLASS z2ui5_cl_demo_app_019 IMPLEMENTATION. class = `sapUiSmallMargin` ). page->segmented_button( - selected_key = client->_bind_edit( sel_mode ) + selected_key = client->_bind( sel_mode ) selection_change = client->_event( `BUTTON_SEGMENT_CHANGE` ) )->get( )->items( )->get( )->segmented_button_item( @@ -65,7 +65,7 @@ CLASS z2ui5_cl_demo_app_019 IMPLEMENTATION. page->table( headertext = `Table` mode = sel_mode - items = client->_bind_edit( t_tab ) + items = client->_bind( t_tab ) )->columns( )->column( )->text( `Title` )->get_parent( )->column( )->text( `Value` )->get_parent( diff --git a/src/01/02/z2ui5_cl_demo_app_045.clas.abap b/src/01/02/z2ui5_cl_demo_app_045.clas.abap index 7ae03006..39f5e7bf 100644 --- a/src/01/02/z2ui5_cl_demo_app_045.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_045.clas.abap @@ -78,7 +78,7 @@ CLASS Z2UI5_CL_DEMO_APP_045 IMPLEMENTATION. )->content( `form` )->title( `Filter` )->label( `info` - )->input( client->_bind_edit( mv_info_filter ) + )->input( client->_bind( mv_info_filter ) )->button( text = `filter` press = client->_event( `FILTER_INFO` ) ). diff --git a/src/01/02/z2ui5_cl_demo_app_048.clas.abap b/src/01/02/z2ui5_cl_demo_app_048.clas.abap index 571b3cfe..c9f9643f 100644 --- a/src/01/02/z2ui5_cl_demo_app_048.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_048.clas.abap @@ -66,7 +66,7 @@ CLASS z2ui5_cl_demo_app_048 IMPLEMENTATION. page->list( headertext = `List Output` - items = client->_bind_edit( t_tab ) + items = client->_bind( t_tab ) mode = `SingleSelectMaster` selectionchange = client->_event( `SELCHANGE` ) )->_generic( diff --git a/src/01/02/z2ui5_cl_demo_app_053.clas.abap b/src/01/02/z2ui5_cl_demo_app_053.clas.abap index 2c0cc0db..f0c8c3ac 100644 --- a/src/01/02/z2ui5_cl_demo_app_053.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_053.clas.abap @@ -77,7 +77,7 @@ CLASS z2ui5_cl_demo_app_053 IMPLEMENTATION. DATA(vbox) = page->vbox( ). vbox->hbox( )->search_field( - value = client->_bind_edit( mv_search_value ) + value = client->_bind( mv_search_value ) search = client->_event( `BUTTON_SEARCH` ) change = client->_event( `BUTTON_SEARCH` ) width = `17.5rem` diff --git a/src/01/02/z2ui5_cl_demo_app_064.clas.abap b/src/01/02/z2ui5_cl_demo_app_064.clas.abap index 690e0123..1d992ce1 100644 --- a/src/01/02/z2ui5_cl_demo_app_064.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_064.clas.abap @@ -139,8 +139,8 @@ CLASS z2ui5_cl_demo_app_064 IMPLEMENTATION. layout = page1->vertical_layout( class = `sapuicontentpadding` width = `100%` ). layout->vbox( )->progress_indicator( - percentvalue = client->_bind_edit( mv_percent ) - displayvalue = client->_bind_edit( screen-display_value ) + percentvalue = client->_bind( mv_percent ) + displayvalue = client->_bind( screen-display_value ) showvalue = abap_true state = `Success` ). diff --git a/src/01/02/z2ui5_cl_demo_app_070.clas.abap b/src/01/02/z2ui5_cl_demo_app_070.clas.abap index e0069001..302bb11c 100644 --- a/src/01/02/z2ui5_cl_demo_app_070.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_070.clas.abap @@ -165,7 +165,7 @@ CLASS Z2UI5_CL_DEMO_APP_070 IMPLEMENTATION. justifycontent = `SpaceBetween` )->flex_box( alignitems = `Start` ). lo_box->vbox( )->text( `Search` )->search_field( - value = client->_bind_edit( mv_search_value ) + value = client->_bind( mv_search_value ) search = client->_event( `BUTTON_SEARCH` ) change = client->_event( `BUTTON_SEARCH` ) width = `17.5rem` @@ -189,7 +189,7 @@ CLASS Z2UI5_CL_DEMO_APP_070 IMPLEMENTATION. customfilter = client->_event( `CUSTOMFILTER` ) ). tab->ui_extension( )->overflow_toolbar( )->title( `Products` ). DATA(lo_columns) = tab->ui_columns( ). - lo_columns->ui_column( `4rem` )->checkbox( selected = client->_bind_edit( lv_selkz ) + lo_columns->ui_column( `4rem` )->checkbox( selected = client->_bind( lv_selkz ) enabled = abap_true select = client->_event( `SELKZ` ) )->ui_template( )->checkbox( `{SELKZ}` ). lo_columns->ui_column( width = `5rem` diff --git a/src/01/02/z2ui5_cl_demo_app_074.clas.abap b/src/01/02/z2ui5_cl_demo_app_074.clas.abap index f305758b..e62c9752 100644 --- a/src/01/02/z2ui5_cl_demo_app_074.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_074.clas.abap @@ -90,7 +90,7 @@ CLASS z2ui5_cl_demo_app_074 IMPLEMENTATION. FIELD-SYMBOLS TYPE table. ASSIGN table->* TO
. - DATA(tab) = page->table( client->_bind_edit(
) + DATA(tab) = page->table( client->_bind(
) )->header_toolbar( )->overflow_toolbar( )->title( `CSV Content` @@ -111,8 +111,8 @@ CLASS z2ui5_cl_demo_app_074 IMPLEMENTATION. page->footer( )->overflow_toolbar( )->_z2ui5( )->file_uploader( - value = client->_bind_edit( file ) - path = client->_bind_edit( filepath ) + value = client->_bind( file ) + path = client->_bind( filepath ) placeholder = `filepath here...` upload = client->_event( `UPLOAD` ) ). diff --git a/src/01/02/z2ui5_cl_demo_app_078.clas.abap b/src/01/02/z2ui5_cl_demo_app_078.clas.abap index 1bdf1780..be032542 100644 --- a/src/01/02/z2ui5_cl_demo_app_078.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_078.clas.abap @@ -45,14 +45,14 @@ CLASS Z2UI5_CL_DEMO_APP_078 IMPLEMENTATION. class = `sapUiSmallMargin` ). view->_z2ui5( )->multiinput_ext( - addedtokens = client->_bind_edit( mt_tokens_added ) - removedtokens = client->_bind_edit( mt_tokens_removed ) + addedtokens = client->_bind( mt_tokens_added ) + removedtokens = client->_bind( mt_tokens_removed ) change = client->_event( `UPDATE_BACKEND` ) multiinputid = `test` ). view->multi_input( id = `test` - tokens = client->_bind_edit( mt_token ) + tokens = client->_bind( mt_token ) showclearicon = abap_true )->tokens( )->token( key = `{KEY}` @@ -62,7 +62,7 @@ CLASS Z2UI5_CL_DEMO_APP_078 IMPLEMENTATION. editable = `{EDITABLE}` ). DATA(tab) = view->table( - items = client->_bind_edit( mt_token ) + items = client->_bind( mt_token ) mode = `MultiSelect` ). tab->columns( diff --git a/src/01/02/z2ui5_cl_demo_app_088.clas.abap b/src/01/02/z2ui5_cl_demo_app_088.clas.abap index b5ccc92d..7bde211f 100644 --- a/src/01/02/z2ui5_cl_demo_app_088.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_088.clas.abap @@ -62,7 +62,7 @@ CLASS z2ui5_cl_demo_app_088 IMPLEMENTATION. showicon = abap_true class = `sapUiSmallMargin` ). - page->icon_tab_header( selectedkey = client->_bind_edit( mv_selected_key ) + page->icon_tab_header( selectedkey = client->_bind( mv_selected_key ) select = client->_event_client( val = client->cs_event-control_by_id t_arg = VALUE #( ( `NavCon` ) ( `MAIN` ) ( `to` ) ( `${$parameters>/selectedKey}` ) ) ) mode = `Inline` diff --git a/src/01/02/z2ui5_cl_demo_app_120.clas.abap b/src/01/02/z2ui5_cl_demo_app_120.clas.abap index 00b8c1a0..3813bebe 100644 --- a/src/01/02/z2ui5_cl_demo_app_120.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_120.clas.abap @@ -81,27 +81,27 @@ CLASS z2ui5_cl_demo_app_120 IMPLEMENTATION. error = client->_event( val = `GEOLOCATION_ERROR` t_arg = VALUE #( ( `${$parameters>/code}` ) ( `${$parameters>/message}` ) ) ) - longitude = client->_bind_edit( longitude ) - latitude = client->_bind_edit( latitude ) - altitude = client->_bind_edit( altitude ) - altitudeaccuracy = client->_bind_edit( altitudeaccuracy ) - accuracy = client->_bind_edit( accuracy ) - speed = client->_bind_edit( speed ) + longitude = client->_bind( longitude ) + latitude = client->_bind( latitude ) + altitude = client->_bind( altitude ) + altitudeaccuracy = client->_bind( altitudeaccuracy ) + accuracy = client->_bind( accuracy ) + speed = client->_bind( speed ) )->simple_form( title = `Geolocation` editable = abap_false )->content( `form` )->label( `Longitude` - )->input( value = client->_bind_edit( longitude ) editable = abap_false + )->input( value = client->_bind( longitude ) editable = abap_false )->label( `Latitude` - )->input( value = client->_bind_edit( latitude ) editable = abap_false + )->input( value = client->_bind( latitude ) editable = abap_false )->label( `Altitude` - )->input( value = client->_bind_edit( altitude ) editable = abap_false + )->input( value = client->_bind( altitude ) editable = abap_false )->label( `Accuracy` - )->input( value = client->_bind_edit( accuracy ) editable = abap_false + )->input( value = client->_bind( accuracy ) editable = abap_false )->label( `AltitudeAccuracy` - )->input( value = client->_bind_edit( altitudeaccuracy ) editable = abap_false + )->input( value = client->_bind( altitudeaccuracy ) editable = abap_false )->label( `Speed` - )->input( value = client->_bind_edit( speed ) editable = abap_false ). + )->input( value = client->_bind( speed ) editable = abap_false ). client->view_display( view->stringify( ) ). diff --git a/src/01/02/z2ui5_cl_demo_app_125.clas.abap b/src/01/02/z2ui5_cl_demo_app_125.clas.abap index c2ff7016..ff4c0d4b 100644 --- a/src/01/02/z2ui5_cl_demo_app_125.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_125.clas.abap @@ -37,7 +37,7 @@ CLASS z2ui5_cl_demo_app_125 IMPLEMENTATION. editable = abap_true )->content( `form` )->label( `title` - )->input( client->_bind_edit( title ) + )->input( client->_bind( title ) )->button( text = `Set Title` press = client->_event( `SET_TITLE` ) ). diff --git a/src/01/02/z2ui5_cl_demo_app_133.clas.abap b/src/01/02/z2ui5_cl_demo_app_133.clas.abap index 2052a585..e203659d 100644 --- a/src/01/02/z2ui5_cl_demo_app_133.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_133.clas.abap @@ -44,19 +44,19 @@ CLASS Z2UI5_CL_DEMO_APP_133 IMPLEMENTATION. )->content( `form` )->title( `Input` )->label( `Sel_Start` - )->input( client->_bind_edit( selstart ) + )->input( client->_bind( selstart ) )->label( `Sel_End` - )->input( client->_bind_edit( selend ) + )->input( client->_bind( selend ) )->label( `field_01` )->input( - value = client->_bind_edit( field_01 ) + value = client->_bind( field_01 ) id = `BUTTON01` )->button( text = `focus here` press = client->_event( `BUTTON01` ) )->label( `field_02` )->input( - value = client->_bind_edit( field_02 ) + value = client->_bind( field_02 ) id = `BUTTON02` )->button( text = `focus here` diff --git a/src/01/02/z2ui5_cl_demo_app_160.clas.abap b/src/01/02/z2ui5_cl_demo_app_160.clas.abap index 209cedd7..dfafa94b 100644 --- a/src/01/02/z2ui5_cl_demo_app_160.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_160.clas.abap @@ -125,7 +125,7 @@ CLASS z2ui5_cl_demo_app_160 IMPLEMENTATION. selectionmode = `None` visiblerowcountmode = `Auto` fixedrowcount = `1` - rows = client->_bind_edit( mt_output ) + rows = client->_bind( mt_output ) ). DATA(columns) = table->ui_columns( ). diff --git a/src/01/02/z2ui5_cl_demo_app_170.clas.abap b/src/01/02/z2ui5_cl_demo_app_170.clas.abap index 3b01cf0b..6534fd7f 100644 --- a/src/01/02/z2ui5_cl_demo_app_170.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_170.clas.abap @@ -27,7 +27,7 @@ CLASS z2ui5_cl_demo_app_170 IMPLEMENTATION. afterclose = client->_event( `BTN_OK_1ND` ) )->content( ). - DATA(content) = dialog->icon_tab_bar( selectedkey = client->_bind_edit( mv_selected_key ) + DATA(content) = dialog->icon_tab_bar( selectedkey = client->_bind( mv_selected_key ) select = client->_event_client( val = client->cs_event-control_by_id t_arg = VALUE #( ( `NavCon` ) ( `POPUP` ) ( `to` ) ( `${$parameters>/selectedKey}` ) ) ) headermode = `Inline` diff --git a/src/01/02/z2ui5_cl_demo_app_189.clas.abap b/src/01/02/z2ui5_cl_demo_app_189.clas.abap index fe104a69..ce658131 100644 --- a/src/01/02/z2ui5_cl_demo_app_189.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_189.clas.abap @@ -57,13 +57,13 @@ CLASS Z2UI5_CL_DEMO_APP_189 IMPLEMENTATION. editable = abap_true )->content( `form` )->label( `One (Press Enter)` )->input( id = `IdOne` - value = client->_bind_edit( one ) + value = client->_bind( one ) submit = client->_event( `one_enter` ) )->label( `Two` )->input( id = `IdTwo` - value = client->_bind_edit( two ) + value = client->_bind( two ) submit = client->_event( `two_enter` ) )->label( `Three` )->input( id = `IdThree` - value = client->_bind_edit( three ) ). + value = client->_bind( three ) ). client->view_display( page->stringify( ) ). diff --git a/src/01/02/z2ui5_cl_demo_app_279.clas.abap b/src/01/02/z2ui5_cl_demo_app_279.clas.abap index aa5bdf0d..4c422f9a 100644 --- a/src/01/02/z2ui5_cl_demo_app_279.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_279.clas.abap @@ -44,7 +44,7 @@ CLASS Z2UI5_CL_DEMO_APP_279 IMPLEMENTATION. box->input( id = `input` - value = client->_bind_edit( text_input ) + value = client->_bind( text_input ) submit = client->_event( `submit` ) width = `40rem` placeholder = `Enter data, submit and navigate back to trigger data loss protection` ). diff --git a/src/01/02/z2ui5_cl_demo_app_306.clas.abap b/src/01/02/z2ui5_cl_demo_app_306.clas.abap index 8918caa4..7aac4bfd 100644 --- a/src/01/02/z2ui5_cl_demo_app_306.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_306.clas.abap @@ -67,8 +67,8 @@ CLASS Z2UI5_CL_DEMO_APP_306 IMPLEMENTATION. )->label( text = `facingMode: ` labelfor = `ComboFacingMode` )->combobox( id = `ComboFacingMode` - selectedkey = client->_bind_edit( facing_mode ) - items = |\{path:'{ client->_bind_edit( val = facing_modes + selectedkey = client->_bind( facing_mode ) + items = |\{path:'{ client->_bind( val = facing_modes path = abap_true ) }', sorter: \{ path: 'TEXT' \} \}| )->get( )->item( key = `{KEY}` text = `{TEXT}` ). @@ -78,21 +78,21 @@ CLASS Z2UI5_CL_DEMO_APP_306 IMPLEMENTATION. labelfor = `ComboDevice` )->_z2ui5( )->camera_selector( id = `ComboDevice` - selectedkey = client->_bind_edit( device ) - items = |\{path:'{ client->_bind_edit( val = devices + selectedkey = client->_bind( device ) + items = |\{path:'{ client->_bind( val = devices path = abap_true ) }', sorter: \{ path: 'TEXT' \} \}| )->get( )->item( key = `{KEY}` text = `{TEXT}` ). - page->_z2ui5( )->camera_picture( value = client->_bind_edit( mv_picture_base ) - thumbnail = client->_bind_edit( mv_picture_thumb ) + page->_z2ui5( )->camera_picture( value = client->_bind( mv_picture_base ) + thumbnail = client->_bind( mv_picture_thumb ) onphoto = client->_event( `CAPTURE` ) - facingmode = client->_bind_edit( facing_mode ) - deviceid = client->_bind_edit( device ) ). + facingmode = client->_bind( facing_mode ) + deviceid = client->_bind( device ) ). DATA(lo_list) = page->list( headertext = `List Output` - items = client->_bind_edit( mt_picture_out ) + items = client->_bind( mt_picture_out ) mode = `SingleSelectMaster` selectionchange = client->_event( `DISPLAY` ) ). diff --git a/src/01/02/z2ui5_cl_demo_app_316.clas.abap b/src/01/02/z2ui5_cl_demo_app_316.clas.abap index 71b6a452..67b01e74 100644 --- a/src/01/02/z2ui5_cl_demo_app_316.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_316.clas.abap @@ -62,19 +62,19 @@ CLASS z2ui5_cl_demo_app_316 IMPLEMENTATION. email_form->label( text = `E-Mail` labelfor = `inputEmail` ). email_form->input( id = `inputEmail` - value = client->_bind_edit( email-email ) + value = client->_bind( email-email ) type = `Email` placeholder = `Enter email` class = `sapUiSmallMarginBottom` ). email_form->input( id = `inputCcEmail` - value = client->_bind_edit( email-cc ) + value = client->_bind( email-cc ) type = `Email` placeholder = `Enter cc email` class = `sapUiSmallMarginBottom` ). email_form->input( id = `inputBccEmail` - value = client->_bind_edit( email-bcc ) + value = client->_bind( email-bcc ) type = `Email` placeholder = `Enter bcc email` class = `sapUiSmallMarginBottom` ). @@ -82,13 +82,13 @@ CLASS z2ui5_cl_demo_app_316 IMPLEMENTATION. email_form->label( text = `Subject` labelfor = `inputText` ). email_form->input( id = `inputText` - value = client->_bind_edit( email-subject ) + value = client->_bind( email-subject ) placeholder = `Enter text` class = `sapUiSmallMarginBottom` ). email_form->label( `Mail Body` )->text_area( valueliveupdate = abap_true - value = client->_bind_edit( email-body ) + value = client->_bind( email-body ) growing = abap_true growingmaxlines = `7` width = `100%` ). @@ -96,14 +96,14 @@ CLASS z2ui5_cl_demo_app_316 IMPLEMENTATION. email_form->button( text = `Trigger Email` press = client->_event_client( val = client->cs_event-urlhelper t_arg = VALUE #( ( `TRIGGER_EMAIL` ) - ( |${ client->_bind_edit( email ) }| ) ) ) ). + ( |${ client->_bind( email ) }| ) ) ) ). DATA(telephone_form) = layout->simple_form( `Trigger Telephone` ). telephone_form->label( text = `Telephone` labelfor = `inputTel` ). telephone_form->input( id = `inputTel` - value = client->_bind_edit( phone ) + value = client->_bind( phone ) type = `Tel` placeholder = `Enter telephone number` class = `sapUiSmallMarginBottom` ). @@ -111,32 +111,32 @@ CLASS z2ui5_cl_demo_app_316 IMPLEMENTATION. text = `Trigger Telephone` press = client->_event_client( val = client->cs_event-urlhelper t_arg = VALUE #( ( `TRIGGER_TEL` ) - ( |${ client->_bind_edit( phone ) }| ) ) ) ). + ( |${ client->_bind( phone ) }| ) ) ) ). DATA(mobile_form) = layout->simple_form( `Trigger SMS` ). mobile_form->label( text = `Number` labelfor = `inputNumber` ). mobile_form->input( id = `inputNumber` - value = client->_bind_edit( mobile ) + value = client->_bind( mobile ) type = `Number` placeholder = `Enter a number` class = `sapUiSmallMarginBottom` ). mobile_form->button( text = `Trigger SMS` press = client->_event_client( val = client->cs_event-urlhelper - t_arg = VALUE #( ( `TRIGGER_SMS` ) ( |${ client->_bind_edit( mobile ) }| ) ) ) ). + t_arg = VALUE #( ( `TRIGGER_SMS` ) ( |${ client->_bind( mobile ) }| ) ) ) ). DATA(url_form) = layout->simple_form( `Redirect` ). url_form->label( text = `URL` labelfor = `inputUrl` ). url_form->input( id = `inputUrl` - value = client->_bind_edit( url-url ) + value = client->_bind( url-url ) type = `Url` placeholder = `Enter URL` class = `sapUiSmallMarginBottom` ). url_form->button( text = `Redirect` press = client->_event_client( val = client->cs_event-urlhelper - t_arg = VALUE #( ( `REDIRECT` ) ( |${ client->_bind_edit( url ) }| ) ) ) ). + t_arg = VALUE #( ( `REDIRECT` ) ( |${ client->_bind( url ) }| ) ) ) ). client->view_display( page->stringify( ) ). diff --git a/src/01/02/z2ui5_cl_demo_app_325.clas.abap b/src/01/02/z2ui5_cl_demo_app_325.clas.abap index 82ceaa00..f81af721 100644 --- a/src/01/02/z2ui5_cl_demo_app_325.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_325.clas.abap @@ -52,7 +52,7 @@ CLASS Z2UI5_CL_DEMO_APP_325 IMPLEMENTATION. )->sub_sections( )->object_page_sub_section( id = `id_input` title = `Input field` )->blocks( )->vbox( - )->input( value = client->_bind_edit( input ) + )->input( value = client->_bind( input ) width = `50%` )->button( text = `Copy input` type = `Emphasized` @@ -69,7 +69,7 @@ CLASS Z2UI5_CL_DEMO_APP_325 IMPLEMENTATION. press = client->_event( `COPY_TEXT_AREA` ) )->text_area( valueliveupdate = abap_true editable = abap_true - value = client->_bind_edit( text ) + value = client->_bind( text ) growing = abap_true growingmaxlines = `50` width = `100%` diff --git a/src/01/02/z2ui5_cl_demo_app_352.clas.abap b/src/01/02/z2ui5_cl_demo_app_352.clas.abap index c690f235..4e04f044 100644 --- a/src/01/02/z2ui5_cl_demo_app_352.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_352.clas.abap @@ -62,7 +62,7 @@ CLASS Z2UI5_CL_DEMO_APP_352 IMPLEMENTATION. )->label( `Input (numeric keyboard)` )->input( id = `ZINPUT` - value = client->_bind_edit( input ) + value = client->_bind( input ) showvaluehelp = abap_true valuehelprequest = client->_event( `CALL_KEYBOARD` ) ). diff --git a/src/01/02/z2ui5_cl_demo_app_363.clas.abap b/src/01/02/z2ui5_cl_demo_app_363.clas.abap index f557d1c1..4e4e46d8 100644 --- a/src/01/02/z2ui5_cl_demo_app_363.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_363.clas.abap @@ -85,7 +85,7 @@ CLASS z2ui5_cl_demo_app_363 IMPLEMENTATION. " Top section form->label( `Top field (id = top_input)` ). form->input( id = `top_input` - value = client->_bind_edit( field_01 ) ). + value = client->_bind( field_01 ) ). " spacer DO 25 TIMES. @@ -96,7 +96,7 @@ CLASS z2ui5_cl_demo_app_363 IMPLEMENTATION. " Middle section (required) form->label( `Middle field - required (id = middle_input)` ). form->input( id = `middle_input` - value = client->_bind_edit( field_02 ) ). + value = client->_bind( field_02 ) ). " spacer DO 25 TIMES. @@ -107,7 +107,7 @@ CLASS z2ui5_cl_demo_app_363 IMPLEMENTATION. " Bottom section form->label( `Bottom field (id = bottom_input)` ). form->input( id = `bottom_input` - value = client->_bind_edit( field_03 ) ). + value = client->_bind( field_03 ) ). page->footer( )->overflow_toolbar( )->button( text = `Jump to Top` diff --git a/src/01/02/z2ui5_cl_demo_app_454.clas.abap b/src/01/02/z2ui5_cl_demo_app_454.clas.abap index a1cf70b5..30b2e5d4 100644 --- a/src/01/02/z2ui5_cl_demo_app_454.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_454.clas.abap @@ -109,7 +109,7 @@ CLASS Z2UI5_CL_DEMO_APP_454 IMPLEMENTATION. page->list( id = `productList` headertext = `Products` - items = client->_bind_edit( t_products ) + items = client->_bind( t_products ) class = `sapUiSmallMargin` )->standard_list_item( title = `{NAME}` description = `{CATEGORY}` ). diff --git a/src/01/02/z2ui5_cl_demo_app_455.clas.abap b/src/01/02/z2ui5_cl_demo_app_455.clas.abap index 9c9d537c..69ddc98e 100644 --- a/src/01/02/z2ui5_cl_demo_app_455.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_455.clas.abap @@ -75,7 +75,7 @@ CLASS Z2UI5_CL_DEMO_APP_455 IMPLEMENTATION. page->list( id = `productList` headertext = `Products` - items = client->_bind_edit( t_products ) + items = client->_bind( t_products ) class = `sapUiSmallMargin` )->standard_list_item( title = `{NAME}` description = `{CATEGORY}` ). diff --git a/src/01/02/z2ui5_cl_demo_app_459.clas.abap b/src/01/02/z2ui5_cl_demo_app_459.clas.abap index 4a23850a..8cd8a9c7 100644 --- a/src/01/02/z2ui5_cl_demo_app_459.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_459.clas.abap @@ -96,7 +96,7 @@ CLASS z2ui5_cl_demo_app_459 IMPLEMENTATION. class = `sapUiSmallMargin` ). DATA(tab) = page->table( id = `reorderTable` - items = client->_bind_edit( t_products ) ). + items = client->_bind( t_products ) ). " dragDropConfig is a plain sap.m aggregation here (ns = ``); the " DragDropInfo goes through _generic because the typed builder method diff --git a/src/01/02/z2ui5_cl_demo_app_460.clas.abap b/src/01/02/z2ui5_cl_demo_app_460.clas.abap index b4b0824e..d4888db2 100644 --- a/src/01/02/z2ui5_cl_demo_app_460.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_460.clas.abap @@ -71,7 +71,7 @@ CLASS z2ui5_cl_demo_app_460 IMPLEMENTATION. page->tree( id = `tree1` headertext = `Files` - items = client->_bind_edit( t_nodes ) + items = client->_bind( t_nodes ) )->standard_tree_item( title = `{TEXT}` ). client->view_display( view->stringify( ) ). diff --git a/src/01/02/z2ui5_cl_demo_app_461.clas.abap b/src/01/02/z2ui5_cl_demo_app_461.clas.abap index f1b397af..72e6af70 100644 --- a/src/01/02/z2ui5_cl_demo_app_461.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_461.clas.abap @@ -120,7 +120,7 @@ CLASS Z2UI5_CL_DEMO_APP_461 IMPLEMENTATION. DATA(tree) = page->tree( id = `tree1` headertext = `Folders` - items = client->_bind_edit( t_nodes ) ). + items = client->_bind( t_nodes ) ). tree->drag_drop_config( `` )->_generic( diff --git a/src/01/02/z2ui5_cl_demo_app_462.clas.abap b/src/01/02/z2ui5_cl_demo_app_462.clas.abap index 1d16910f..bf15b5e7 100644 --- a/src/01/02/z2ui5_cl_demo_app_462.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_462.clas.abap @@ -84,7 +84,7 @@ CLASS Z2UI5_CL_DEMO_APP_462 IMPLEMENTATION. " bound here renders in the dialog exactly like in a main view dialog->tree( id = `treePopup` headertext = `Documents` - items = client->_bind_edit( t_nodes ) + items = client->_bind( t_nodes ) )->standard_tree_item( title = `{TEXT}` ). " invisible companion: snapshots the tree's expand state before each diff --git a/src/01/02/z2ui5_cl_demo_app_463.clas.abap b/src/01/02/z2ui5_cl_demo_app_463.clas.abap index f1559cd9..803421da 100644 --- a/src/01/02/z2ui5_cl_demo_app_463.clas.abap +++ b/src/01/02/z2ui5_cl_demo_app_463.clas.abap @@ -100,7 +100,7 @@ CLASS z2ui5_cl_demo_app_463 IMPLEMENTATION. " {TEXT} because the items aggregation itself is bound with _bind_edit DATA(tree) = page->tree( id = `tree1` headertext = `Files (editable)` - items = client->_bind_edit( t_nodes ) ). + items = client->_bind( t_nodes ) ). tree->_generic( `CustomTreeItem` )->content( diff --git a/src/01/08/00/z2ui5_cl_demo_app_005.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_005.clas.abap index 62dd14ed..182046a6 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_005.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_005.clas.abap @@ -51,8 +51,8 @@ CLASS Z2UI5_CL_DEMO_APP_005 IMPLEMENTATION. labelinterval = `2` width = `80%` class = `sapUiTinyMargin` - value = client->_bind_edit( value1 ) - value2 = client->_bind_edit( value2 ) + value = client->_bind( value1 ) + value2 = client->_bind( value2 ) change = client->_event( `SLIDER_CHANGE` ) ). client->view_display( view->stringify( ) ). diff --git a/src/01/08/00/z2ui5_cl_demo_app_051.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_051.clas.abap index da5ba14e..5cdcf9fa 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_051.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_051.clas.abap @@ -48,12 +48,12 @@ CLASS z2ui5_cl_demo_app_051 IMPLEMENTATION. labelfor = `input2` design = `Bold` ). layout->input( id = `input2` - value = client->_bind_edit( screen-input2 ) ). + value = client->_bind( screen-input2 ) ). layout->label( text = `Input normal` labelfor = `input3` ). layout->input( id = `input3` - value = client->_bind_edit( screen-input3 ) ). + value = client->_bind( screen-input3 ) ). client->view_display( page->stringify( ) ). diff --git a/src/01/08/00/z2ui5_cl_demo_app_101.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_101.clas.abap index 6701ab6b..4f2f767c 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_101.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_101.clas.abap @@ -99,7 +99,7 @@ CLASS z2ui5_cl_demo_app_101 IMPLEMENTATION. page->feed_input( post = client->_event( `POST` ) icon = base_url && `test-resources/sap/m/images/dronning_victoria.jpg` - value = client->_bind_edit( value ) + value = client->_bind( value ) class = `sapUiSmallMarginTopBottom` ). page->list( diff --git a/src/01/08/00/z2ui5_cl_demo_app_114.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_114.clas.abap index 8e830e4a..ce06fdcd 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_114.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_114.clas.abap @@ -96,7 +96,7 @@ CLASS Z2UI5_CL_DEMO_APP_114 IMPLEMENTATION. src = `sap-icon://person-placeholder` class = `sapUiSmallMarginEnd` )->text_area( - value = client->_bind_edit( mv_value ) + value = client->_bind( mv_value ) rows = `4` cols = `120` class = `sapUiSmallMarginEnd` @@ -109,7 +109,7 @@ CLASS Z2UI5_CL_DEMO_APP_114 IMPLEMENTATION. iconfirst = abap_true ). page->list( - items = client->_bind_edit( mt_feed ) + items = client->_bind( mt_feed ) showseparators = `Inner` )->feed_list_item( sender = `{AUTHOR}` diff --git a/src/01/08/00/z2ui5_cl_demo_app_140.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_140.clas.abap index 5a1b154a..a5fcc638 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_140.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_140.clas.abap @@ -73,9 +73,9 @@ CLASS Z2UI5_CL_DEMO_APP_140 IMPLEMENTATION. )->multi_combobox( * name = 'Multi' name = `MultiComboBox` - selectedkeys = client->_bind_edit( gt_sel_multi2 ) -* selecteditems = client->_bind_edit( gt_sel_multi ) - items = client->_bind_edit( val = gt_multi ) + selectedkeys = client->_bind( gt_sel_multi2 ) +* selecteditems = client->_bind( gt_sel_multi ) + items = client->_bind( val = gt_multi ) )->item( key = `{KEY}` text = `{TEXT}` diff --git a/src/01/08/00/z2ui5_cl_demo_app_287.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_287.clas.abap index 9467a59b..2667d241 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_287.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_287.clas.abap @@ -70,7 +70,7 @@ CLASS z2ui5_cl_demo_app_287 IMPLEMENTATION. )->toolbar_spacer( )->toggle_button( text = `Toggle Wrapping` - pressed = client->_bind_edit( wrapping ) + pressed = client->_bind( wrapping ) )->get_parent( )->get_parent( )->items( @@ -83,7 +83,7 @@ CLASS z2ui5_cl_demo_app_287 IMPLEMENTATION. info = `{INFO}` infostate = `{HIGHLIGHT}` type = `Detail` - wrapping = client->_bind_edit( wrapping ) + wrapping = client->_bind( wrapping ) wrapcharlimit = `{WRAPCHARLIMIT}` ). client->view_display( page->stringify( ) ). diff --git a/src/01/08/00/z2ui5_cl_demo_app_288.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_288.clas.abap index dd97528f..95469254 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_288.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_288.clas.abap @@ -68,7 +68,7 @@ CLASS z2ui5_cl_demo_app_288 IMPLEMENTATION. )->toolbar_spacer( )->select( forceselection = abap_false - selectedkey = client->_bind_edit( selected_product ) + selectedkey = client->_bind( selected_product ) items = client->_bind( lt_product_collection ) )->item( key = `{PRODUCT_ID}` text = `{NAME}` @@ -78,10 +78,10 @@ CLASS z2ui5_cl_demo_app_288 IMPLEMENTATION. )->content( )->hbox( justifycontent = `SpaceAround` )->select( - enabled = client->_bind_edit( enabled ) - editable = client->_bind_edit( editable ) + enabled = client->_bind( enabled ) + editable = client->_bind( editable ) forceselection = abap_false - selectedkey = client->_bind_edit( selected_product2 ) + selectedkey = client->_bind( selected_product2 ) items = client->_bind( lt_product_collection2 ) )->item( key = `{PRODUCT_ID}` text = `{NAME}` @@ -91,13 +91,13 @@ CLASS z2ui5_cl_demo_app_288 IMPLEMENTATION. )->label( text = `Enabled:` class = `sapUiTinyMarginEnd` )->switch( type = `AcceptReject` - state = client->_bind_edit( enabled ) + state = client->_bind( enabled ) )->get_parent( )->hbox( alignitems = `Center` )->label( text = `Editable:` class = `sapUiTinyMarginEnd` )->switch( type = `AcceptReject` - state = client->_bind_edit( editable ) + state = client->_bind( editable ) )->get_parent( )->get_parent( )->get_parent( @@ -107,7 +107,7 @@ CLASS z2ui5_cl_demo_app_288 IMPLEMENTATION. )->toolbar_spacer( )->select( forceselection = abap_false - selectedkey = client->_bind_edit( selected_product3 ) + selectedkey = client->_bind( selected_product3 ) type = `IconOnly` icon = `sap-icon://filter` autoadjustwidth = abap_true diff --git a/src/01/08/00/z2ui5_cl_demo_app_297.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_297.clas.abap index 607cf846..ddd690df 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_297.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_297.clas.abap @@ -60,7 +60,7 @@ CLASS z2ui5_cl_demo_app_297 IMPLEMENTATION. )->content( )->select( forceselection = abap_false - selectedkey = client->_bind_edit( selected_product ) + selectedkey = client->_bind( selected_product ) items = client->_bind( lt_product_collection ) )->item( )->list_item( key = `{PRODUCT_ID}` diff --git a/src/01/08/00/z2ui5_cl_demo_app_298.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_298.clas.abap index 52159f52..dcb7a78e 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_298.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_298.clas.abap @@ -65,7 +65,7 @@ CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION. )->select( id = `errorSelect` forceselection = abap_true - selectedkey = client->_bind_edit( selectedproducterrorcollection ) + selectedkey = client->_bind( selectedproducterrorcollection ) valuestate = `Error` valuestatetext = `error value state text` items = client->_bind( lt_a_products ) @@ -80,7 +80,7 @@ CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION. )->select( id = `warningSelect` forceselection = abap_true - selectedkey = client->_bind_edit( selectedproductwrnngcollection ) + selectedkey = client->_bind( selectedproductwrnngcollection ) valuestate = `Warning` valuestatetext = `This is a Level 1 explanation. The items Lorem and Ipsum are not recommended from the system.` items = client->_bind( lt_a_products ) @@ -95,7 +95,7 @@ CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION. )->select( id = `successSelect` forceselection = abap_true - selectedkey = client->_bind_edit( selectedproductsccsscollection ) + selectedkey = client->_bind( selectedproductsccsscollection ) valuestate = `Success` valuestatetext = `success value state text` items = client->_bind( lt_a_products ) @@ -110,7 +110,7 @@ CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION. )->select( id = `informationSelect` forceselection = abap_true - selectedkey = client->_bind_edit( selectedproductinforcollection ) + selectedkey = client->_bind( selectedproductinforcollection ) valuestate = `Information` valuestatetext = `information value state text` items = client->_bind( lt_a_products ) diff --git a/src/01/08/00/z2ui5_cl_demo_app_368.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_368.clas.abap index f2f32049..e2bcdb9c 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_368.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_368.clas.abap @@ -74,7 +74,7 @@ CLASS z2ui5_cl_demo_app_368 IMPLEMENTATION. href = `https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.IconTabBar/sample/sap.m.sample.IconTabBar` ). DATA(items) = page->icon_tab_bar( class = `sapUiResponsiveContentPadding` - selectedkey = client->_bind_edit( selectedkey ) + selectedkey = client->_bind( selectedkey ) select = client->_event( `TAB_SELECT` ) )->items( ). items->icon_tab_filter( count = client->_bind( cnt_total ) diff --git a/src/01/08/00/z2ui5_cl_demo_app_376.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_376.clas.abap index 92ad07f4..de3b4e75 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_376.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_376.clas.abap @@ -66,7 +66,7 @@ CLASS z2ui5_cl_demo_app_376 IMPLEMENTATION. DATA(vbox) = page->vbox( `sapUiSmallMargin` ). vbox->label( `Default with seconds:` ). - vbox->time_picker( value = client->_bind_edit( time_default ) + vbox->time_picker( value = client->_bind( time_default ) valueformat = `HH:mm:ss` displayformat = `HH:mm:ss` width = `12rem` @@ -74,7 +74,7 @@ CLASS z2ui5_cl_demo_app_376 IMPLEMENTATION. vbox->label( text = `Display format HH:mm (24 hours):` class = `sapUiSmallMarginTop` ). - vbox->time_picker( value = client->_bind_edit( time_short ) + vbox->time_picker( value = client->_bind( time_short ) valueformat = `HH:mm:ss` displayformat = `HH:mm` width = `12rem` @@ -82,7 +82,7 @@ CLASS z2ui5_cl_demo_app_376 IMPLEMENTATION. vbox->label( text = `Minutes in steps of 15:` class = `sapUiSmallMarginTop` ). - vbox->time_picker( value = client->_bind_edit( time_steps ) + vbox->time_picker( value = client->_bind( time_steps ) valueformat = `HH:mm:ss` displayformat = `HH:mm` minutesstep = `15` diff --git a/src/01/08/00/z2ui5_cl_demo_app_377.clas.abap b/src/01/08/00/z2ui5_cl_demo_app_377.clas.abap index 84d0d1ff..8cbcf811 100644 --- a/src/01/08/00/z2ui5_cl_demo_app_377.clas.abap +++ b/src/01/08/00/z2ui5_cl_demo_app_377.clas.abap @@ -64,7 +64,7 @@ CLASS Z2UI5_CL_DEMO_APP_377 IMPLEMENTATION. DATA(vbox) = page->vbox( `sapUiSmallMargin` ). vbox->label( `Default:` ). - vbox->date_time_picker( client->_bind_edit( datetime_default ) ). + vbox->date_time_picker( client->_bind( datetime_default ) ). vbox->label( text = `With placeholder:` class = `sapUiSmallMarginTop` ). @@ -72,7 +72,7 @@ CLASS Z2UI5_CL_DEMO_APP_377 IMPLEMENTATION. vbox->label( text = `Value state Warning:` class = `sapUiSmallMarginTop` ). - vbox->date_time_picker( value = client->_bind_edit( datetime_state ) + vbox->date_time_picker( value = client->_bind( datetime_state ) valuestate = `Warning` ). vbox->label( text = `Disabled:` diff --git a/src/01/08/02/z2ui5_cl_demo_app_307.clas.abap b/src/01/08/02/z2ui5_cl_demo_app_307.clas.abap index c4d3c3ad..54e569b2 100644 --- a/src/01/08/02/z2ui5_cl_demo_app_307.clas.abap +++ b/src/01/08/02/z2ui5_cl_demo_app_307.clas.abap @@ -216,7 +216,7 @@ CLASS z2ui5_cl_demo_app_307 IMPLEMENTATION. )->get_parent( )->grid_list( id = `gridList` headertext = `GridList header` - items = client->_bind_edit( items ) + items = client->_bind( items ) )->drag_drop_config( )->drag_info( `items` )->grid_drop_info( diff --git a/src/01/08/07/z2ui5_cl_demo_app_270.clas.abap b/src/01/08/07/z2ui5_cl_demo_app_270.clas.abap index 32cdf528..25670e57 100644 --- a/src/01/08/07/z2ui5_cl_demo_app_270.clas.abap +++ b/src/01/08/07/z2ui5_cl_demo_app_270.clas.abap @@ -26,8 +26,8 @@ CLASS z2ui5_cl_demo_app_270 IMPLEMENTATION. )->simple_form( editable = abap_true )->content( ns = `form` )->color_picker( - colorstring = client->_bind_edit( color ) - )->input( client->_bind_edit( color ) + colorstring = client->_bind( color ) + )->input( client->_bind( color ) )->stringify( ) ). ENDIF.