org.richfaces.demo.common.navigation
Class DemoNavigator
java.lang.Object
org.richfaces.demo.common.navigation.DemoNavigator
- All Implemented Interfaces:
- Serializable
public class DemoNavigator
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoNavigator
public DemoNavigator()
init
@PostConstruct
public void init()
getCurrentDemo
public DemoDescriptor getCurrentDemo()
getCurrentSample
public SampleDescriptor getCurrentSample()
findDemoById
public DemoDescriptor findDemoById(String id)
getSampleURI
public String getSampleURI()
getSampleIncludeURI
public String getSampleIncludeURI()
- Returns:
- actual sample inclusion src Consider that: 1) all the samples should be placed in "samples" subfolder of the
actual sample 2) all the samples pages should use the same name as main sample page with "-sample" prefix
getGroups
public List<GroupDescriptor> getGroups()
setGroups
public void setGroups(List<GroupDescriptor> groups)
getSample
public String getSample()
setSample
public void setSample(String sample)
getDemo
public String getDemo()
setDemo
public void setDemo(String demo)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.