<netui:tree> Tag: Dynamic Tree Sample

This page flow sample shows how build a navigation tree dynamically by calling directly into the the <netui:tree> and <netui:node> APIs.

Concepts Demonstrated by this Sample

Location of Sample Files

In the SamplesApp, the sample is in the following location:

SamplesApp/WebApp/tagSamples/netui/tree_dynamic/

On the local file system, the samples are located at:

<BEA_HOME>\weblogic81\samples\workshop\SamplesApp\WebApp\tagSamples\netui\tree_dynamic\

To Run the Samples

  1. Start WebLogic Server in the Workshop domain.

    • On Microsoft Windows systems, run

      <BEA_HOME>/weblogic81/samples/domains/workshop/startWebLogic.cmd

    • On Linux or Solaris systems, run:

      <BEA_HOME>/weblogic81/samples/domains/workshop/startWebLogic.sh

  2. Launch the Page Flow either by opening SamplesApp/WebApp/tagSamples/netui/tree_dynamic/treeController.jpf in WebLogic Workshop and selecting the Start operation or by entering http://localhost:7001/WebApp/tagSamples/netui/tree_dynamic/treeController.jpf in the address bar of your browser. If WebLogic Server is running in the Workshop domain on this machine, you may click here to run the sample.

Related Topics

<netui:tree> Tag

<netui:node> Tag

TreeNode Class