Ticket #5879 (closed task: fixed)

Opened 9 months ago

Last modified 9 months ago

Tree: finalize design for specifying root node

Reported by: bill Owned by: bill
Priority: high Milestone: 1.1
Component: Dijit Version: 1.0
Severity: normal Keywords:
Cc:

Description (last modified by bill) (diff)

Before beta, need to finalize design for specifying root node of tree.

As per #5812, the current root node specification is polymorphic:

new dijit.Tree({ root: 5, ... });
new dijit.Tree({ root: "continents", ... });

Unfortunately this doesn't fly well with the parser.... root is always treated as a string.

<div dojoType="dijit.Tree" root="5">

... even if it looks like a number

Change History

Changed 9 months ago by bill

  • description modified (diff)

Changed 9 months ago by bill

  • status changed from new to closed
  • resolution set to fixed

(In [12481]) Specify root item of tree using query parameter (like in v1.0) rather than "root" parameter. But query returning multiple items (rather than a single item) is deprecated; plan to remove in 2.0. Fixes #5879. !strict

Note: See TracTickets for help on using tickets.