Tobago Demo

Menu

Tree Command Types

The <tc:link/> tag can be added to a <tc:treeNode/> tag. The command can be used to execute an action or a link.

Tag Library Documentation

Example

In this example, the nodes with children are displayed as <tc:treeLabel/>. The leafs are <tc:treeCommand/>. Like the parent nodes suggest, the entries in 'Actions' run an action with the action attribute. And the entries in 'Links' are links to an external website using the link attribute.

Apache MyFaces Tobago 0 0
© 2005-2023 Apache Software Foundation, Licensed under the Apache License, Version 2.0.