Henning Nöth created TOBAGO-2074:
------------------------------------

             Summary: Tree without a list of TreeNodes
                 Key: TOBAGO-2074
                 URL: https://issues.apache.org/jira/browse/TOBAGO-2074
             Project: MyFaces Tobago
          Issue Type: New Feature
          Components: Core
            Reporter: Henning Nöth


Currently, a tree is build with a list of tree nodes and tc:tree must contain a 
tc:treeNode.

It should be possible to describe a tree only with tc:link within a tc:tree, 
like:

{code:xml}
<tc:tree>
  <tc:link label="root" omit="true">
    <tc:link label="Node 1" omit="true">
      <tc:link label="SubNode 1" outcome="..."/>
      <tc:link label="SubNode 2" outcome="..."/>
    </tc:link>
    <tc:link label="Node 2" omit="true">
      <tc:link label="SubNode 1" outcome="..."/>
      <tc:link label="SubNode 2" outcome="..."/>
    </tc:link>
  </tc:link>
</tc:tree>
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to