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

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

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

Supporting class for the forward tag. Enables forwarding navigation to other pages or panes in the portal. If "name" and "target" are both specified, the "name" is assumed to be a portlet. If only "name" is specified, the name is assumed to be a logical forward name.

Since:
1.4b4
Version:
$Id: JetspeedForwardTag.java,v 1.3 2004/02/23 03:59:40 jford Exp $
Author:
Mark Orciuch
See Also:
ForwardService.forward(RunData rundata, String forwardName), ForwardService.forward(RunData rundata, String portlet, String target), 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
JetspeedForwardTag()
           
 
Method Summary
 int doStartTag()
          Method called when the tag is encountered to send attributes to the output stream
 java.lang.String getName()
           
 java.lang.String getTarget()
           
 void setName(java.lang.String name)
           
 void setTarget(java.lang.String target)
           
 
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

JetspeedForwardTag

public JetspeedForwardTag()
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setTarget

public void setTarget(java.lang.String target)

getTarget

public java.lang.String getTarget()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Method called when the tag is encountered to send attributes 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.