Commit 488feae
Add three new demo apps and reorganize catalog structure (#695)
* Add Navigation routing-modes demo (default / fresh / keep)
New sample z2ui5_cl_demo_app_468 ("Navigation - Routing modes") demonstrates the
three modes of client->set_nav_routing( ) so the difference is observable with
the browser Back button: pick a mode, add some state (type / raise a counter),
open the detail page via nav_app_call, then press the browser Back button and
watch the page:
- default : no #/app route - browser Back leaves the app (in-app Back returns)
- fresh : route by class only - browser Back restarts the app empty
- keep : route by class + draft - browser Back restores the exact state
z2ui5_cl_demo_app_469 is the hidden detail page it navigates to (ZZZ helper).
Both live in 01/02 (framework use cases). Regenerated the overview catalogs;
the regeneration also synced pre-existing DESCRIPT drift (apps 139, 346, 421,
466).
Note: relies on set_nav_routing( mode ) / cs_nav_mode from abap2UI5; samples CI
lints against abap2UI5 main and will be green once that framework change lands.
* fix
* Add Popup aggregation-binding sample (element bind)
New sample z2ui5_cl_demo_app_470 ("Popup - Aggregation binding") shows how to
bind a popup to one row of an aggregation with client->follow_up_action(
cs_event-bind_element, view = cs_view-popup ): the main table is bound to the
product aggregation, and pressing a row's "components" button opens a popup that
uses relative bindings only ({NAME}, {CATEGORY}, and the nested aggregation
{T_ITEM}). The element bind points the whole popup slot at /T_PRODUCT/<index>
(the index arrives as the event arg from the pressed control's binding context),
so the popup - including its component list's aggregation binding - resolves
against the selected product without copying any data into event args.
Regenerated the overview catalog: adds the app_470 tile and syncs the catalog
to the tree (the preceding file moves to src/01/01 had left it stale).
* fixes
* Build out app_319 into a full SmartMultiInput SELECT-OPTIONS demo
Turns the WIP SmartMultiInput sample into an end-to-end demo of the control's
strength: define conditions on Product Type via the OData value help (contains,
between, greater-than, exclude, several at once) and the backend translates the
returned ranges into a real ABAP RANGE (do_search: Contains -> CP *x*,
StartsWith/EndsWith -> CP, BT, GT/GE/LT/LE, exclude -> SIGN 'E') and filters a
local demo product list with `... WHERE product_type IN <range>`. The derived
SELECT-OPTIONS (SIGN/OPTION/LOW/HIGH) and the matching rows are both shown, plus
a live match count. Removed the debug range-content message box; kept the
ProductType / UI_PRODUCTLIST OData wiring. Also regenerated the overview catalog
to mirror the current tree.
* fix
* Fix abaplint omit_parameter_name in samples 470 and 315
- app_470: vbox( class = ... ) -> vbox( ... ) (class is the PREFERRED parameter)
- app_315: view_display( val = ... ) -> view_display( ... ) (val is the first,
mandatory parameter)
These only surface with full framework symbol resolution (CI), not in a
formatting-only lint. The remaining ABAP_STANDARD errors on app_468 (cs_nav_mode /
set_nav_routing) are the cross-repo dependency on abap2UI5#2476 and clear once
that framework change is on main.
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 7b5f96a commit 488feae
47 files changed
Lines changed: 799 additions & 163 deletions
File tree
- src
- 00
- 00
- 02
- 01
- 01
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 42 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
33 | 69 | | |
34 | 70 | | |
35 | 71 | | |
| |||
41 | 77 | | |
42 | 78 | | |
43 | 79 | | |
44 | | - | |
| 80 | + | |
45 | 81 | | |
46 | 82 | | |
47 | 83 | | |
48 | 84 | | |
49 | | - | |
| 85 | + | |
50 | 86 | | |
51 | 87 | | |
52 | 88 | | |
53 | 89 | | |
54 | 90 | | |
55 | 91 | | |
56 | | - | |
57 | | - | |
| 92 | + | |
| 93 | + | |
58 | 94 | | |
59 | 95 | | |
60 | 96 | | |
61 | 97 | | |
62 | 98 | | |
63 | 99 | | |
64 | | - | |
| 100 | + | |
65 | 101 | | |
66 | 102 | | |
67 | | - | |
| 103 | + | |
68 | 104 | | |
69 | 105 | | |
70 | 106 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments