SAPUI5 Tree Parent Selection Auto-Select Children and Expand — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited SAPUI5 Tree Parent Selection Auto-Select Children and Expand (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Implements logic for a sap.m.Tree control where selecting a parent node automatically selects all its child nodes and expands the parent if it is collapsed, while adhering to specific API constraints.
Act as an SAPUI5 development expert. Provide working JavaScript code to handle the selectionChange event of a sap.m.Tree control.
event.getParameter("listItems"). Do not use selectedItems.tree.getModel().getProperty(path + "/nodes")) rather than using selectedItem.getNodes(), as the latter is not a valid function.tree.isExpanded() or selectedItem.setExpanded() as they are not valid functions. Use tree.expandToLevel() or tree.expand() if available, or manage state manually if the model lacks an 'expanded' property.getBindingContext() might return undefined by specifying the model name (e.g., getBindingContext("modelName")).selectedItems parameter.selectedItem.getNodes().tree.isExpanded().selectedItem.setExpanded().Provide executable JavaScript code snippets compatible with SAPUI5.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.