rows treeDict/rows;
height tree/height;
rootNode python:rows.pop(0);
- box_id string:tree_box_${rootNode/object/id};
+ box_id tree/tree_pre;
portal_url here/portal_url"
tal:condition="python:displayAction=='view' and rows"
tal:omit-tag=""
<tr>
<td>
- <table cellspacing="0">
- <tbody tal:attributes="id box_id">
+ <table cellspacing="0">
+ <tbody tal:attributes="id box_id; name rootNode/id">
<tr tal:repeat="row rows">
<td tal:define="indent python: row.depth - 1" tal:attributes="colspan indent" tal:condition="indent"> </td>
<td tal:define="state row/state ; rlink row/branch ; msg python:state > 0 and 'collapse' or 'expand'" width="16"