org.richfaces.demo.common.navigation
Class DemoNavigator
java.lang.Object
org.richfaces.demo.common.navigation.DemoNavigator
- All Implemented Interfaces:
- java.io.Serializable
public class DemoNavigator
- extends java.lang.Object
- implements java.io.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(java.lang.String id)
getSampleURI
public java.lang.String getSampleURI()
getSampleIncludeURI
public java.lang.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 java.util.List<GroupDescriptor> getGroups()
setGroups
public void setGroups(java.util.List<GroupDescriptor> groups)
getSample
public java.lang.String getSample()
setSample
public void setSample(java.lang.String sample)
getDemo
public java.lang.String getDemo()
setDemo
public void setDemo(java.lang.String demo)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.