@SessionScoped @ManagedBean(name="tree") public class TreeBean extends Object
TreeNodeBean
from which the tree is built.
The bean is a session scoped bean so the tree expansion state and select node are preserved between requests.
Constructor and Description |
---|
TreeBean() |
Modifier and Type | Method and Description |
---|---|
TreeNodeBean |
getRoot()
Getter for the root.
|
String |
getSelectedRefId()
Getter for the selected node reference id.
|
void |
refresh(javax.faces.event.ComponentSystemEvent event)
Capture the preRenderView event to refresh tree.
|
void |
setSelectedRefId(String selectedRefId)
Setter for the selected node reference id.
|
public void refresh(javax.faces.event.ComponentSystemEvent event)
public TreeNodeBean getRoot()
public String getSelectedRefId()
public void setSelectedRefId(String selectedRefId)
selectedRefId
-