Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions src/00/05/z2ui5_cl_demo_app_346.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ CLASS z2ui5_cl_demo_app_346 IMPLEMENTATION.
&& ` const m = focusCtrlId.match(/(\d+$)/);`
&& ` const model = z2ui5.oView.getModel() ;`
&& ` model.setProperty("/FOCUSID",focusCtrlId);`
&& ` model.setProperty("/XX/FOCUSCOLUMN",column);`
&& ` model.setProperty("/XX/FOCUSROW",m[1]);`
&& ` model.setProperty("/FOCUSCOLUMN",column);`
&& ` model.setProperty("/FOCUSROW",m[1]);`
&& ` } catch(e){}`
&& `}, true);`
&& ``
Expand Down
6 changes: 3 additions & 3 deletions src/01/01/z2ui5_cl_demo_app_173.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ CLASS Z2UI5_CL_DEMO_APP_173 IMPLEMENTATION.

view->table( client->_bind( mt_data )
)->columns(
)->template_repeat( list = `{template>/XX/MT_LAYOUT}`
)->template_repeat( list = `{template>/MT_LAYOUT}`
var = `L0`
)->column( mergeduplicates = `{L0>MERGE}`
visible = `{L0>VISIBLE}` )->text( `{L0>FNAME}` )->get_parent(
)->get_parent( )->get_parent(
)->items(
)->column_list_item(
)->cells(
)->template_repeat( list = `{template>/XX/MT_LAYOUT}`
)->template_repeat( list = `{template>/MT_LAYOUT}`
var = `L1`
)->object_identifier( text = `{= '{' + ${L1>FNAME} + '}' }` ).

Expand All @@ -72,7 +72,7 @@ CLASS Z2UI5_CL_DEMO_APP_173 IMPLEMENTATION.
change = client->_event( `CHANGE_FLAG` ) ).
view = view->vbox( ).

view->template_if( `{template>/XX/MV_FLAG}`
view->template_if( `{template>/MV_FLAG}`
)->template_then(
)->icon( src = `sap-icon://accept`
color = `green` )->get_parent(
Expand Down
4 changes: 2 additions & 2 deletions src/01/01/z2ui5_cl_demo_app_176.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ CLASS z2ui5_cl_demo_app_176 IMPLEMENTATION.
lo_view_nested->shell( )->page( `Nested View`
)->table( i_client->_bind( mt_data )
)->columns(
)->template_repeat( list = `{template>/XX/MT_LAYOUT}`
)->template_repeat( list = `{template>/MT_LAYOUT}`
var = `LO`
)->column( mergeduplicates = `{LO>MERGE}`
visible = `{LO>VISIBLE}` )->get_parent(
)->get_parent( )->get_parent(
)->items(
)->column_list_item(
)->cells(
)->template_repeat( list = `{template>/XX/MT_LAYOUT}`
)->template_repeat( list = `{template>/MT_LAYOUT}`
var = `LO2`
)->object_identifier( text = `{= '{' + ${LO2>FNAME} + '}' }` ).

Expand Down
6 changes: 3 additions & 3 deletions src/01/02/z2ui5_cl_demo_app_461.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ CLASS Z2UI5_CL_DEMO_APP_461 IMPLEMENTATION.

WHEN `MOVE_NODE`.
" both event args arrive resolved client-side: the binding context
" paths of the dragged and the drop target item. The two-way model
" prefixes them with /XX/, e.g. /XX/T_NODES/0/NODES/1 (a file) and
" /XX/T_NODES/2 (a folder) - so parse from the END of the path
" paths of the dragged and the drop target item, e.g.
" /T_NODES/0/NODES/1 (a file) and /T_NODES/2 (a folder) - so parse
" from the END of the path
SPLIT client->get_event_arg( ) AT `/` INTO TABLE DATA(lt_drag).
SPLIT client->get_event_arg( 2 ) AT `/` INTO TABLE DATA(lt_drop).
DATA(lv_drag_lines) = lines( lt_drag ).
Expand Down
Loading