You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: drop the /XX/ model-path prefix from all path examples
The two-way view-model separation removed the /XX/ node - bound data now lives
directly under the root model. Update the resolved-path examples in
expression_binding, formatter and concept accordingly (e.g. {/XX/NAME} -> {/NAME}).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The `enabled` property uses an expression binding that resolves to `{= 500===${/XX/QUANTITY} }` — the product field becomes editable only when the quantity equals 500 exactly. Note that `===` is the JavaScript strict equality operator.
57
+
The `enabled` property uses an expression binding that resolves to `{= 500===${/QUANTITY} }` — the product field becomes editable only when the quantity equals 500 exactly. Note that `===` is the JavaScript strict equality operator.
58
58
59
59
```abap
60
60
CLASS z2ui5_cl_demo_editable DEFINITION PUBLIC.
@@ -75,7 +75,7 @@ CLASS z2ui5_cl_demo_editable IMPLEMENTATION.
75
75
)->input( `{ type : "sap.ui.model.type.Integer",` &&
The sections below show the binding-string pattern for each ABAP type that needs a formatter. Each pattern is the minimum that makes the value display and parse correctly — for runnable apps with full `formatOptions`, `constraints`, and read-only variants, see the [samples repository](https://github.com/abap2UI5/samples).
@@ -177,7 +177,7 @@ CLASS z2ui5_cl_demo_app_067 IMPLEMENTATION.
The test argument follows the same rules as in UI5: any binding expression is fine, and the string `"false"` is treated as boolean `false` (a UI5 convenience). For richer conditions use expression binding, e.g. `` `{= ${template>/XX/MV_COUNT} > 0 }` ``.
82
+
The test argument follows the same rules as in UI5: any binding expression is fine, and the string `"false"` is treated as boolean `false` (a UI5 convenience). For richer conditions use expression binding, e.g. `` `{= ${template>/MV_COUNT} > 0 }` ``.
83
83
84
84
`template:elseif` is also supported by UI5; check `Z2UI5_CL_XML_VIEW` for the corresponding fluent method or fall back to the generic builder (see [Definition](/cookbook/view/definition#the-fully-generic-builder)).
0 commit comments