Disables the TreeItem.
Parameters: disabled - the enabled/disabled state.
setExpandOnServer
public void setExpandOnServer(boolean expandOnServer)(Code)
Set the value of the expandOnServer attribute. If the attribute is true
and runAtClient is also true, then an expansion on this node will cause that
to happen on the server. When runAtClient is false, all expansions will happen on the server.
Parameters: expandOnServer - boolean value indicating if the node should be expanded on the server.
This method is called by the children tags of the TreeItem. If there is a TreeHtmlAttribute
it will set the attribute name and value.
Parameters: attr -
This method is called by children tags of the TreeItem. If there is a TreeLabel
it will set the text of the label. A child TreeLabel will override the label
attribute.
Parameters: label - The text of the Label to be displayed for this TreeItem.
Set the target scope for this tree node's URI. Any page flow that handles the URI will be made active within the
given scope. Scopes allow multiple page flows to be active within the same user session; page flows in different
scopes do not in general interact with each other. This attribute is commonly used in conjunction with the
target attribute (
TreeItem.setTarget ) to invoke a new page flow in a separate window.
Parameters: scope - a String that identifies the scope in which the target page flow will be made active.