Skip to content

Commit 64b49cf

Browse files
authored
fix smart control sample (#452)
1 parent 614a223 commit 64b49cf

File tree

2 files changed

+2
-42
lines changed

2 files changed

+2
-42
lines changed

src/z2ui5_cl_demo_app_312.clas.abap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CLASS z2ui5_cl_demo_app_312 DEFINITION
2424
DATA mv_prop TYPE string.
2525
DATA mt_feed_values TYPE TABLE OF string.
2626
DATA check_initialized TYPE abap_bool.
27-
DATA mt_viztypes TYPE z2ui5_if_types=>ty_t_name_value.
27+
DATA mt_viztypes TYPE z2ui5_if_types=>ty_t_name_value..
2828

2929
PROTECTED SECTION.
3030
DATA client TYPE REF TO z2ui5_if_client.

src/z2ui5_cl_demo_app_313.clas.abap

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -68,47 +68,7 @@ CLASS z2ui5_cl_demo_app_313 IMPLEMENTATION.
6868
enableautobinding = abap_true
6969
).
7070

71-
* page->_cc_plain_xml( ` <smartFilterBar:SmartFilterBar ` && |\n| &&
72-
* ` id="smartFilterBar"` && |\n| &&
73-
* ` entitySet="BookingSupplement" persistencyKey="SmartFilterPKey" >` && |\n| &&
74-
* ` <smartFilterBar:controlConfiguration>` && |\n| &&
75-
* ` <smartFilterBar:ControlConfiguration` && |\n| &&
76-
* ` key="TravelID" visibleInAdvancedArea="true"` && |\n| &&
77-
* ` preventInitialDataFetchInValueHelpDialog="false">` && |\n| &&
78-
* ` </smartFilterBar:ControlConfiguration>` && |\n| &&
79-
* ` </smartFilterBar:controlConfiguration>` && |\n| &&
80-
* ` </smartFilterBar:SmartFilterBar> <smartTable:SmartTable ` && |\n| &&
81-
* ` id="smartTable_ResponsiveTable"` && |\n| &&
82-
* ` smartFilterId="smartFilterBar" ` && |\n| &&
83-
* ` tableType="ResponsiveTable" ` && |\n| &&
84-
* ` editable="false"` && |\n| &&
85-
* ` initiallyVisibleFields="TravelID,BookingID"` && |\n| &&
86-
* ` entitySet="BookingSupplement" ` && |\n| &&
87-
* ` useVariantManagement="true"` && |\n| &&
88-
* ` useExportToExcel="true"` && |\n| &&
89-
* ` useTablePersonalisation="true" ` && |\n| &&
90-
* ` header="Test" ` && |\n| &&
91-
* ` showRowCount="true"` && |\n| &&
92-
* ` enableExport="false" ` && |\n| &&
93-
* ` enableAutoBinding="true">` && |\n| &&
94-
* `</smartTable:SmartTable>` ).
95-
** ` <smartForm:SmartForm editable="true">` && |\n| &&
96-
* ` <smartForm:layout>` && |\n| &&
97-
* ` <smartForm:ColumnLayout ` && |\n| &&
98-
* ` emptyCellsLarge="4"` && |\n| &&
99-
* ` labelCellsLarge="4"` && |\n| &&
100-
* ` columnsM="1"` && |\n| &&
101-
* ` columnsL="1"` && |\n| &&
102-
* ` columnsXL="1"/>` && |\n| &&
103-
* ` </smartForm:layout>` && |\n| &&
104-
* ` <smartForm:Group>` && |\n| &&
105-
* ` <smartForm:GroupElement>` && |\n| &&
106-
* ` <smartField:SmartField value="{City}" id="idPrice"/>` && |\n| &&
107-
* ` </smartForm:GroupElement>` && |\n| &&
108-
* ` </smartForm:Group>` && |\n| &&
109-
* ` </smartForm:SmartForm>` ).
110-
111-
client->view_display( val = view->stringify( ) switchdefaultmodel = abap_true ).
71+
client->view_display( val = view->stringify( ) switchdefaultmodel = 'test' ).
11272
ENDIF.
11373

11474
CASE client->get( )-event.

0 commit comments

Comments
 (0)