Skip to content

Commit 9652b2b

Browse files
author
Nestor Lara
committed
cell binding fixes
1 parent 7a6c0a2 commit 9652b2b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/z2ui5_cl_demo_app_144.clas.abap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ CLASS z2ui5_cl_demo_app_144 IMPLEMENTATION.
4343

4444
LOOP AT t_tab REFERENCE INTO DATA(lr_row).
4545
DATA(lv_tabix) = sy-tabix.
46-
page->input( value = client->_bind_edit( val = lr_row->title tab = t_tab tab_index = lv_tabix ) ).
47-
page->input( value = client->_bind_edit( val = lr_row->value tab = t_tab tab_index = lv_tabix ) ).
46+
page->input( value = client->_bind_edit( val = lr_row->title tab = ref #( t_tab ) tab_index = lv_tabix ) ).
47+
page->input( value = client->_bind_edit( val = lr_row->value tab = ref #( t_tab ) tab_index = lv_tabix ) ).
4848
ENDLOOP.
4949

5050
DATA(tab) = page->table(
@@ -62,10 +62,10 @@ CLASS z2ui5_cl_demo_app_144 IMPLEMENTATION.
6262
)->input( value = '{TITLE}'
6363
)->input( value = '{VALUE}' ).
6464

65-
page->input( value = client->_bind_edit( val = t_tab[ 1 ]-title tab = t_tab tab_index = 1 ) ).
66-
page->input( value = client->_bind_edit( val = t_tab[ 1 ]-value tab = t_tab tab_index = 1 ) ).
67-
page->input( value = client->_bind_edit( val = t_tab[ 2 ]-title tab = t_tab tab_index = 2 ) ).
68-
page->input( value = client->_bind_edit( val = t_tab[ 2 ]-value tab = t_tab tab_index = 2 ) ).
65+
page->input( value = client->_bind_edit( val = t_tab[ 1 ]-title tab = ref #( t_tab ) tab_index = 1 ) ).
66+
page->input( value = client->_bind_edit( val = t_tab[ 1 ]-value tab = ref #( t_tab ) tab_index = 1 ) ).
67+
page->input( value = client->_bind_edit( val = t_tab[ 2 ]-title tab = ref #( t_tab ) tab_index = 2 ) ).
68+
page->input( value = client->_bind_edit( val = t_tab[ 2 ]-value tab = ref #( t_tab ) tab_index = 2 ) ).
6969

7070
client->view_display( view->stringify( ) ).
7171

src/z2ui5_cl_demo_app_165.clas.abap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ CLASS z2ui5_cl_demo_app_165 IMPLEMENTATION.
9393
DATA(lv_index) = sy-tabix.
9494

9595
DATA(lo_col) = lo_columns->column(
96-
visible = client->_bind( val = lr_layout->visible tab = mt_layout tab_index = lv_index )
97-
mergeduplicates = client->_bind( val = lr_layout->mergeduplicates tab = mt_layout tab_index = lv_index ) ).
96+
visible = client->_bind( val = lr_layout->visible tab = ref #( mt_layout ) tab_index = lv_index )
97+
mergeduplicates = client->_bind( val = lr_layout->mergeduplicates tab = ref #( mt_layout ) tab_index = lv_index ) ).
9898

9999
lo_col->text( text = lr_layout->name ).
100100

0 commit comments

Comments
 (0)