Class NavigationTree
- java.lang.Object
-
- org.apache.myfaces.tobago.example.demo.NavigationTree
-
- All Implemented Interfaces:
Serializable
@ApplicationScoped @Named public class NavigationTree extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NavigationTree()todo: Seems not working with Java EE 6, needs Java EE 7?
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NavigationNodefindByViewId(String viewId)StringgetSource()NavigationNodegetTree()voidgotoNode(NavigationNode node)protected List<String>locateResourcesInWar(javax.servlet.ServletContext servletContext, String directory, List<String> result)protected voidpostConstruct()
-
-
-
Method Detail
-
postConstruct
@PostConstruct protected void postConstruct()
-
locateResourcesInWar
protected List<String> locateResourcesInWar(javax.servlet.ServletContext servletContext, String directory, List<String> result)
-
findByViewId
public NavigationNode findByViewId(String viewId)
-
getTree
public NavigationNode getTree()
-
gotoNode
public void gotoNode(NavigationNode node)
-
getSource
public String getSource()
-
-