Utilisation de l'id du nœud racine, plutôt que l'id de l'objet.
authorBenoît Pin <benoit.pin@gmail.com>
Wed, 24 Nov 2010 11:50:50 +0000 (12:50 +0100)
committerBenoît Pin <benoit.pin@gmail.com>
Wed, 24 Nov 2010 11:50:50 +0000 (12:50 +0100)
default_blocks/tree_block_template.pt

index 1b45b19..606d136 100755 (executable)
@@ -41,7 +41,7 @@
                      rows       treeDict/rows;
                      height                    tree/height;
                      rootNode   python:rows.pop(0);
-                     box_id string:tree_box_${rootNode/object/id};
+                     box_id     rootNode/id;
                      portal_url here/portal_url"
          tal:condition="python:displayAction=='view' and rows"
          tal:omit-tag=""