<sas:TreeView>
Used to create a TreeView in a JSP page. It can have two nodeLoading states, PROGRESSIVE and FULL. PROGRESSIVE will create nodes as you need them while FULL creates all the nodes at execution of the page.
Syntax
<sas:TreeView
[autoChildrenVerify="true|false"]
[customAttributes="java.lang.String"]
[deselectNodeFunctionName="java.lang.String"]
[epilog="java.lang.String"]
[expansionLevel="int"]
[id="value"]
[imageLocation="java.lang.String"]
[imageVisible="true|false"]
[initialExpansionLevel="int"]
[instantiate="true|false"]
[lineStyle="IMAGE|NOIMAGE"]
[locale="java.util.Locale"]
[model="java.lang.String"]
[name="java.lang.String"]
[nodeLoading="FULL|PROGRESSIVE"]
[nodeRendererFunctionName="java.lang.String"]
[objectDataProperty="java.lang.String"]
[postExpandNodeFunctionName="java.lang.String"]
[postSelectNodeFunctionName="java.lang.String"]
[preExpandNodeFunctionName="java.lang.String"]
[preSelectNodeFunctionName="java.lang.String"]
[prolog="java.lang.String"]
[ref="java.lang.String"]
[render="true|false"]
[rootNodeVisible="true|false"]
[scope="page|request|session|application"]
[selectedNode="java.lang.String"]
[selectedNodesModel="java.lang.String"]
[selectionMode="NO_SELECTION|SINGLE_SELECTION|SINGLE_REQUIRED_SELECTION|MULTIPLE_SELECTION|CHECKBOX_SELECTION|CHECKBOX_LEAF_SELECTION|TRISTATE_SELECTION|COMPLEX_INDICATOR_SELECTION"]
[selectNodeFunctionName="java.lang.String"]
[styleClassPrefix="java.lang.String"]
[target="java.lang.String"]
[usePlusMinus="true|false"]
[usingURLLinks="true|false"] />
<sas:TreeView
[autoChildrenVerify="true|false"]
[customAttributes="java.lang.String"]
[deselectNodeFunctionName="java.lang.String"]
[epilog="java.lang.String"]
[expansionLevel="int"]
[id="value"]
[imageLocation="java.lang.String"]
[imageVisible="true|false"]
[initialExpansionLevel="int"]
[instantiate="true|false"]
[lineStyle="IMAGE|NOIMAGE"]
[locale="java.util.Locale"]
[model="java.lang.String"]
[name="java.lang.String"]
[nodeLoading="FULL|PROGRESSIVE"]
[nodeRendererFunctionName="java.lang.String"]
[objectDataProperty="java.lang.String"]
[postExpandNodeFunctionName="java.lang.String"]
[postSelectNodeFunctionName="java.lang.String"]
[preExpandNodeFunctionName="java.lang.String"]
[preSelectNodeFunctionName="java.lang.String"]
[prolog="java.lang.String"]
[ref="java.lang.String"]
[render="true|false"]
[rootNodeVisible="true|false"]
[scope="page|request|session|application"]
[selectedNode="java.lang.String"]
[selectedNodesModel="java.lang.String"]
[selectionMode="NO_SELECTION|SINGLE_SELECTION|SINGLE_REQUIRED_SELECTION|MULTIPLE_SELECTION|CHECKBOX_SELECTION|CHECKBOX_LEAF_SELECTION|TRISTATE_SELECTION|COMPLEX_INDICATOR_SELECTION"]
[selectNodeFunctionName="java.lang.String"]
[styleClassPrefix="java.lang.String"]
[target="java.lang.String"]
[usePlusMinus="true|false"]
[usingURLLinks="true|false"]>
[<sas:StyleMapKey .../>]
[<sas:TreeNode ...>
[<sas:TreeNode .../>]
[<sas:StyleMapKey .../>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:TreeNode>, <sas:StyleMapKey>, <sas:SetProperty> tags...]
</sas:TreeNode>]
[<sas:SetProperty ...>
The value to set on the parent tag
</sas:SetProperty>]
[Additional <sas:StyleMapKey>, <sas:TreeNode>, <sas:SetProperty> tags...]
</sas:TreeView>
Attributes
autoChildrenVerify | autoChildrenVerify |
---|---|
customAttributes | a list of attributes in the form of attribute="value", space delimited |
deselectNodeFunctionName | name of the JavaScript function called when the node is deselected |
epilog | Text that is output immediately after the last markup tag. |
expansionLevel | The expansion level of the tree. |
id | Case-sensitive name used to identify the object instance. |
imageLocation | The location of the needed images |
imageVisible | Boolean value if images are to be displayed. |
initialExpansionLevel | The expansion level of the tree. |
instantiate | Flag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute. |
lineStyle | Determines if lines in a PROGRESSIVE tree are written using various images or with HTML. |
locale | Specifies the locale to use for this instance of the class. |
model | the model String |
name | Value assigned to the markup tag's name attribute. |
nodeLoading | Determines if the tree is written all at once or incrementally. |
nodeRendererFunctionName | name of the JavaScript function to render a node |
objectDataProperty | Value assigned to the output tag's objectDataProperty attribute. |
postExpandNodeFunctionName | name of the JavaScript function called node expansion. |
postSelectNodeFunctionName | name of the JavaScript function called after the normal select behavior when the node is selected |
preExpandNodeFunctionName | name of the JavaScript function called prior to node expansion |
preSelectNodeFunctionName | name of the JavaScript function called prior to normal select behavior when the node is selected |
prolog | Text that is output immediately preceeding the first markup tag. |
ref | The variable String value that represents an object created earlier in the same scope. |
render | Flag that, if true, indicates that the complete markup of the bean is output when the tag is closed. It also sets the the visible property on the underlying TransformationBean. |
rootNodeVisible | Boolean value to set if rootNode is visible. |
scope | The scope (or page context) within which the reference is available. |
selectedNode | The selected node. |
selectedNodesModel | The model of selected nodes specified in the TreeView. |
selectionMode | The selectionMode to set |
selectNodeFunctionName | name of the JavaScript function called when the node is selected |
styleClassPrefix | style prefix used for the TreeView |
target | Argument of each folders anchor tag. |
usePlusMinus | Flag which determines whether or not to use the +/- images on the tree. |
usingURLLinks | Boolean value which determines whether or not to use URL links. |
More Information
To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.html.TreeView.
If you need to subclass the tag handler class for the sas:TreeView tag, extend com.sas.taglib.servlet.tbeans.TreeViewTag.