Portlet Factory, Version 6.1.2


 

Configuring the tree to open at the last selected node

This topic describes the steps to follow to configure the tree to open at the last selected node.

  1. Create a string variable to hold the XPath value for the last selected node. For example, SelectedNode.

  2. Set the Tree builder calls Selected Value input to the variable you created in Step 1. For example, ${Variables/SelectedNode}.

  3. In the method that processes the Submit event for the page, assign the input value of the Tree builder call to the variable you created in Step 1. For example,
    webAppAccess.getVariables().setString("SelectedNode", webAppAccess.getRequestInputs().getInputValue("TreeName");

The tree will now open at the last selected node during the execution of the model.

Parent topic: Tree builder


Library | Support |