Printable Commands Tree

What is tree command
Tree is a "n" dimensional command which is suitable for multi-layer and tree structures (e.g menus, dropdowns , categories and sidbars). The structure is very similar to View command ,but there is no limitation on the number of levels you define. You can put level as many layers you have. There are 3 exclusive attributes in tree command basisCore tag: nullvalue, IDcol and parentidcol.

idcol

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

parentidCol

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

nullvalue

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

core

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

datamembername

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Syntax tree
< basis core= ["tree"] datamembername= ["your datamembername"] idcol= ["id"] parentidCol= ["parentid"] nullvalue= ["number"] >
< face level= ["1,2,..."] >
< ul>
< li>
["@your field name"]
</li >
[@child]
< /ul>
</face> < /basis>
simple tree
< basis core= "tree" datamembername= "menu.tree" idcol= "id" parentidCol= "parentid" nullvalue= "50" >
< face level= "1" >
< ul>
< li>
@title
</li >
@child
< /ul>
</face> < /basis>
tree with Layout Tag
< basis core= "tree" datamembername= "menu.tree" idcol= "id" parentidCol= "parentid" nullvalue= "50" >
< div > @title </div >
< layuot >
< li > < ul > @child < /ul > < /li >
< /layuot >
< face level="end" >
< ul >
< li> @title< /li>
@child
< /ul>
< /face >
< face level="1" >
< ul >
< li> @title< /li>
@child
< /ul>
< /face >
< face level="2" >
< ul >
< li> @title< /li>
@child
< /ul>
< /face >
< /basis>