Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
themeEclipse
linenumberstrue
<tree name="directories" model="directory" joinField="fileSystem" />

Model directory must have at least these three fields (name of the field fileSystem must match tree's joinField):

Code Block
languagexml
themeEclipse
linenumberstrue

<belongsTo name="fileSystem" model="fileSystem" required="true" />
<hasMany name="children" model="directory" joinField="parent" cascade="delete" copyable="true" />
<belongsTo name="parent" model="directory" />