Skip to content

Remove /XX/ prefix from template binding paths - #690

Merged
oblomov-dev merged 1 commit into
standardfrom
claude/session-2h7wq4
Jul 21, 2026
Merged

Remove /XX/ prefix from template binding paths#690
oblomov-dev merged 1 commit into
standardfrom
claude/session-2h7wq4

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

Remove the /XX/ prefix from all template binding paths across multiple demo applications. This simplifies the binding syntax by using direct root-level paths instead of the prefixed variant.

Changes

  • z2ui5_cl_demo_app_173: Updated 3 template binding paths from /XX/MT_LAYOUT and /XX/MV_FLAG to their unprefixed equivalents
  • z2ui5_cl_demo_app_176: Updated 2 template binding paths from /XX/MT_LAYOUT to /MT_LAYOUT in nested view implementation
  • z2ui5_cl_demo_app_346: Updated 2 model property paths in JavaScript code from /XX/FOCUSCOLUMN and /XX/FOCUSROW to their unprefixed versions
  • z2ui5_cl_demo_app_461: Updated code comments to reflect that binding paths no longer include the /XX/ prefix (e.g., /T_NODES/0/NODES/1 instead of /XX/T_NODES/0/NODES/1)

Implementation Details

The changes maintain functional equivalence while standardizing on the simpler binding path format. All affected bindings are in template contexts (template_repeat, template_if) and model property setters.

https://claude.ai/code/session_01BRbBrfS2hPi9EFQqjjgfHX

The framework no longer routes two-way data through a dedicated XX/ view-
model node - every binding now lives on the root model. Update the samples
that referenced the /XX/ model path directly:

- app_173 / app_176: template model paths {template>/XX/...} -> {template>/...}
- app_346: custom JS model.setProperty("/XX/FOCUSCOLUMN"/"/XX/FOCUSROW") ->
  root paths
- app_461: comment describing the resolved binding-context paths (the
  end-anchored parser already handles the shorter path unchanged)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BRbBrfS2hPi9EFQqjjgfHX
@oblomov-dev
oblomov-dev merged commit 679c515 into standard Jul 21, 2026
7 of 8 checks passed
@oblomov-dev
oblomov-dev deleted the claude/session-2h7wq4 branch July 21, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants