org.apache.turbine.services.jsp.tags
Class NavigationTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.apache.turbine.services.jsp.tags.NavigationTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class NavigationTag
extends javax.servlet.jsp.tagext.TagSupport

Supporting class for the bodyAttributes tag. Sends the contents of the a screen's body tag's attributes parameter to the output stream. If the screen did not set the attributes parameter, a default may be used if specified in this tag. Example usage: <body <x:bodyAttributes default='onLoad="jsfunc()"' />>

Author:
John D. McNally
See Also:
Serialized Form

Field Summary
private  java.lang.String template
          template parameter defines the template whose contents will replace this tag in the layout.
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext, parent, values
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
NavigationTag()
           
 
Method Summary
 int doStartTag()
          Method called when the tag is encountered to send the navigation template's contents to the output stream
 void setTemplate(java.lang.String template)
          The setter for template parameter
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

template

private java.lang.String template
template parameter defines the template whose contents will replace this tag in the layout.
Constructor Detail

NavigationTag

public NavigationTag()
Method Detail

setTemplate

public void setTemplate(java.lang.String template)
The setter for template parameter

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Method called when the tag is encountered to send the navigation template's contents to the output stream
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
SKIP_BODY, as it is intended to be a single tag.


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