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

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.jetspeed.services.jsp.tags.NavigationTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Supporting class for the navigation tag. Includes a navigation JSP. If the respective tag parameter is set, different JSPs will be choosen, depending on whether the user has already logged in or not.

Author:
Ingo Schuster
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
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 setDefaultTemplate(java.lang.String defaultTemplate)
          The setter for DefaultTemplate parameter
 void setLoggedInTemplate(java.lang.String loggedInTemplate)
          The setter for loggedInTemplate parameter
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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, toString, wait, wait, wait
 

Constructor Detail

NavigationTag

public NavigationTag()
Method Detail

setDefaultTemplate

public void setDefaultTemplate(java.lang.String defaultTemplate)
The setter for DefaultTemplate parameter


setLoggedInTemplate

public void setLoggedInTemplate(java.lang.String loggedInTemplate)
The setter for loggedInTemplate 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

Returns:
SKIP_BODY, as it is intended to be a single tag.
Throws:
javax.servlet.jsp.JspException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.