org.apache.turbine.services.jsp.util

## Class JspNavigation

- java.lang.Object
- - org.apache.turbine.services.jsp.util.JspNavigation

-     public class JspNavigation
      extends Object

  Returns output of a Navigation module. An instance of this is placed in the request by the JspLayout. This allows template authors to set the navigation template they'd like to place in their templates.
  Here's how it's used in a JSP template:
  `<%useBean id="navigation" class="JspNavigation" scope="request" %> ... <%= navigation.setTemplate("admin_navigation.jsp") %>`
  Version:
    $Id: JspNavigation.java 1773378 2016-12-09 13:19:59Z tv $
  Author:
    John D. McNally, Dave Bryson, Henning P. Schmiedehausen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JspNavigation(RunData data)` Constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setTemplate(String template)` builds the output of the navigation template

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JspNavigation

          public JspNavigation(RunData data)

      Constructor
      Parameters:
        `data` - Turbine request data

  - ### Method Detail

    - #### setTemplate

          public void setTemplate(String template)

      builds the output of the navigation template
      Parameters:
        `template` - the name of the navigation template

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.