org.apache.turbine.services.jsp.util
Class JspNavigation

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

public class JspNavigation
extends java.lang.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") %>

Author:
John D. McNally, Dave Brysonmbryson@mont.mindspring.com

Field Summary
private  RunData data
           
 
Constructor Summary
JspNavigation(RunData data)
          Constructor
 
Method Summary
 void setTemplate(java.lang.String template)
          builds the output of the navigation template
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

data

private RunData data
Constructor Detail

JspNavigation

public JspNavigation(RunData data)
Constructor
Parameters:
RunData -  
Method Detail

setTemplate

public void setTemplate(java.lang.String template)
builds the output of the navigation template
Parameters:
String - the name of the navigation template
Returns:
String


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.