You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Nöth (Jira)" <de...@myfaces.apache.org> on 2021/04/07 09:57:00 UTC
[jira] [Created] (TOBAGO-2074) Tree without a list of TreeNodes
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)