Child pages
  • tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Excerpt Include
ajax common header
ajax common header
nopaneltrue

Description

Wiki Markup
{snippet:id=javadoc|javadoc=true|url=org.apache.struts2.components.Treestruts2/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Tree.java}

Parameters

Wiki Markup
{snippet:id=tagattributes|javadoc=false|url=sstruts2struts2-tags/ajax/tree.html}

Examples

Static tree:

Wiki Markup
{snippet:id=exampleexample1|lang=xml|javadoc=true|url=struts2/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Tree.java}

Dynamic tree (rendered on the server):

Wiki Markup
{snippet:id=example2|lang=xml|javadoc=true|url=struts2/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Tree.struts2.components.Treejava}

Dynamic tree loaded with AJAX (one request is made for each node):

Wiki Markup
{snippet:id=example3|lang=xml|javadoc=true|url=struts2/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Tree.java}