Finally, if the user jumps to an unrelated area of the site, as if
by a global navigation or some other link, we can jump to that area. If
there is a default navigation path to the page jumped to, as in a hierarchical
structure, that will be filled in. However, to have anything filled in you must
extend this class and implement the getDefaultHistory() method as appropriate
to your repository structure.
The following input parameters may be passed to NavHistoryCollector:
- navAction (optional)
- Set this to the action you would like to take. Choices are
"push", "pop", and "jump". An unset navAction will be treated as "push".
- navCount (requred)
- This parameter is used to detect when the back button has been used.
We compare the value of this parameter to the value stored with the breadcrumb stack.
If the backbutton is used, then we will reset the breadcrumb stack.
- item (either this or itemName must be specified)
- This is the item to add to the breadcrumb stack.
- itemName (may be used in place of item)
- The name of the current page that will be used as anchor text
in a link back to the current page when it appears in the breadcrumbs.
NavHistoryCollector has no output parameters.
- See Also:
NavHistory
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
Methods inherited from class atg.nucleus.GenericService |
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
NAV_ACTION
public static final ParameterName NAV_ACTION
NAV_COUNT
public static final ParameterName NAV_COUNT
ITEM_NAME
public static final ParameterName ITEM_NAME
ITEM
public static final ParameterName ITEM
mNavHistoryPath
protected ComponentName mNavHistoryPath
NavHistoryCollector
public NavHistoryCollector()
setNavHistoryPath
public void setNavHistoryPath(java.lang.String pNavHistoryPath)
- Sets property NavHistoryPath
getNavHistoryPath
public java.lang.String getNavHistoryPath()
- Returns property NavHistoryPath
service
public void service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
- Look for the RepositoryItem and if found render the output oparam by
binding the item as a parameter. If no item can be found render the empty oparam.
- Overrides:
service
in class DynamoServlet
- Parameters:
pRequest
- the request to be processedpResponse
- the response object for this request
- Throws:
javax.servlet.ServletException
- an application specific error occurred
processing this request
java.io.IOException
- an error occurred reading data from the request
or writing data to the response.