org.apache.strutsel.taglib.logic
Class ELRedirectTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.struts.taglib.logic.RedirectTag
          extended by org.apache.strutsel.taglib.logic.ELRedirectTag
All Implemented Interfaces:
Serializable, IterationTag, Tag

public class ELRedirectTag
extends org.apache.struts.taglib.logic.RedirectTag

Generate a URL-encoded redirect to the specified URI.

This class is a subclass of the class org.apache.struts.taglib.logic.RedirectTag which provides most of the described functionality. This subclass allows all attribute values to be specified as expressions utilizing the JavaServer Pages Standard Library expression language.

Version:
$Rev: 471754 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.taglib.logic.RedirectTag
action, anchor, forward, href, messages, module, name, page, paramId, paramName, paramProperty, paramScope, property, scope, transaction, useLocalEncoding
 
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
ELRedirectTag()
           
 
Method Summary
 int doStartTag()
          Process the start tag.
 String getActionExpr()
          Getter method for "action" tag attribute.
 String getAnchorExpr()
          Getter method for "anchor" tag attribute.
 String getForwardExpr()
          Getter method for "forward" tag attribute.
 String getHrefExpr()
          Getter method for "href" tag attribute.
 String getNameExpr()
          Getter method for "name" tag attribute.
 String getPageExpr()
          Getter method for "page" tag attribute.
 String getParamIdExpr()
          Getter method for "paramId" tag attribute.
 String getParamNameExpr()
          Getter method for "paramName" tag attribute.
 String getParamPropertyExpr()
          Getter method for "paramProperty" tag attribute.
 String getParamScopeExpr()
          Getter method for "paramScope" tag attribute.
 String getPropertyExpr()
          Getter method for "property" tag attribute.
 String getScopeExpr()
          Getter method for "scope" tag attribute.
 String getTransactionExpr()
          Getter method for "transaction" tag attribute.
 String getUseLocalEncodingExpr()
          Getter method for "useLocalEncoding" tag attribute.
 void release()
          Resets attribute values for tag reuse.
 void setActionExpr(String actionExpr)
          Setter method for "action" tag attribute.
 void setAnchorExpr(String anchorExpr)
          Setter method for "anchor" tag attribute.
 void setForwardExpr(String forwardExpr)
          Setter method for "forward" tag attribute.
 void setHrefExpr(String hrefExpr)
          Setter method for "href" tag attribute.
 void setNameExpr(String nameExpr)
          Setter method for "name" tag attribute.
 void setPageExpr(String pageExpr)
          Setter method for "page" tag attribute.
 void setParamIdExpr(String paramIdExpr)
          Setter method for "paramId" tag attribute.
 void setParamNameExpr(String paramNameExpr)
          Setter method for "paramName" tag attribute.
 void setParamPropertyExpr(String paramPropertyExpr)
          Setter method for "paramProperty" tag attribute.
 void setParamScopeExpr(String paramScopeExpr)
          Setter method for "paramScope" tag attribute.
 void setPropertyExpr(String propertyExpr)
          Setter method for "property" tag attribute.
 void setScopeExpr(String scopeExpr)
          Setter method for "scope" tag attribute.
 void setTransactionExpr(String transactionExpr)
          Setter method for "transaction" tag attribute.
 void setUseLocalEncodingExpr(String useLocalEncodingExpr)
          Setter method for "useLocalEncoding" tag attribute.
 
Methods inherited from class org.apache.struts.taglib.logic.RedirectTag
doEndTag, doRedirect, generateRedirectURL, getAction, getAnchor, getForward, getHref, getModule, getName, getPage, getParamId, getParamName, getParamProperty, getParamScope, getProperty, getScope, getTransaction, isUseLocalEncoding, setAction, setAnchor, setForward, setHref, setModule, setName, setPage, setParamId, setParamName, setParamProperty, setParamScope, setProperty, setScope, setTransaction, setUseLocalEncoding
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, 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

ELRedirectTag

public ELRedirectTag()
Method Detail

getActionExpr

public String getActionExpr()
Getter method for "action" tag attribute. (Mapping set in associated BeanInfo class.)


getAnchorExpr

public String getAnchorExpr()
Getter method for "anchor" tag attribute. (Mapping set in associated BeanInfo class.)


getForwardExpr

public String getForwardExpr()
Getter method for "forward" tag attribute. (Mapping set in associated BeanInfo class.)


getHrefExpr

public String getHrefExpr()
Getter method for "href" tag attribute. (Mapping set in associated BeanInfo class.)


getNameExpr

public String getNameExpr()
Getter method for "name" tag attribute. (Mapping set in associated BeanInfo class.)


getPageExpr

public String getPageExpr()
Getter method for "page" tag attribute. (Mapping set in associated BeanInfo class.)


getParamIdExpr

public String getParamIdExpr()
Getter method for "paramId" tag attribute. (Mapping set in associated BeanInfo class.)


getParamNameExpr

public String getParamNameExpr()
Getter method for "paramName" tag attribute. (Mapping set in associated BeanInfo class.)


getParamPropertyExpr

public String getParamPropertyExpr()
Getter method for "paramProperty" tag attribute. (Mapping set in associated BeanInfo class.)


getParamScopeExpr

public String getParamScopeExpr()
Getter method for "paramScope" tag attribute. (Mapping set in associated BeanInfo class.)


getPropertyExpr

public String getPropertyExpr()
Getter method for "property" tag attribute. (Mapping set in associated BeanInfo class.)


getScopeExpr

public String getScopeExpr()
Getter method for "scope" tag attribute. (Mapping set in associated BeanInfo class.)


getTransactionExpr

public String getTransactionExpr()
Getter method for "transaction" tag attribute. (Mapping set in associated BeanInfo class.)


getUseLocalEncodingExpr

public String getUseLocalEncodingExpr()
Getter method for "useLocalEncoding" tag attribute. (Mapping set in associated BeanInfo class.)


setActionExpr

public void setActionExpr(String actionExpr)
Setter method for "action" tag attribute. (Mapping set in associated BeanInfo class.)


setAnchorExpr

public void setAnchorExpr(String anchorExpr)
Setter method for "anchor" tag attribute. (Mapping set in associated BeanInfo class.)


setForwardExpr

public void setForwardExpr(String forwardExpr)
Setter method for "forward" tag attribute. (Mapping set in associated BeanInfo class.)


setHrefExpr

public void setHrefExpr(String hrefExpr)
Setter method for "href" tag attribute. (Mapping set in associated BeanInfo class.)


setNameExpr

public void setNameExpr(String nameExpr)
Setter method for "name" tag attribute. (Mapping set in associated BeanInfo class.)


setPageExpr

public void setPageExpr(String pageExpr)
Setter method for "page" tag attribute. (Mapping set in associated BeanInfo class.)


setParamIdExpr

public void setParamIdExpr(String paramIdExpr)
Setter method for "paramId" tag attribute. (Mapping set in associated BeanInfo class.)


setParamNameExpr

public void setParamNameExpr(String paramNameExpr)
Setter method for "paramName" tag attribute. (Mapping set in associated BeanInfo class.)


setParamPropertyExpr

public void setParamPropertyExpr(String paramPropertyExpr)
Setter method for "paramProperty" tag attribute. (Mapping set in associated BeanInfo class.)


setParamScopeExpr

public void setParamScopeExpr(String paramScopeExpr)
Setter method for "paramScope" tag attribute. (Mapping set in associated BeanInfo class.)


setPropertyExpr

public void setPropertyExpr(String propertyExpr)
Setter method for "property" tag attribute. (Mapping set in associated BeanInfo class.)


setScopeExpr

public void setScopeExpr(String scopeExpr)
Setter method for "scope" tag attribute. (Mapping set in associated BeanInfo class.)


setTransactionExpr

public void setTransactionExpr(String transactionExpr)
Setter method for "transaction" tag attribute. (Mapping set in associated BeanInfo class.)


setUseLocalEncodingExpr

public void setUseLocalEncodingExpr(String useLocalEncodingExpr)
Setter method for "useLocalEncoding" tag attribute. (Mapping set in associated BeanInfo class.)


release

public void release()
Resets attribute values for tag reuse.

Specified by:
release in interface Tag
Overrides:
release in class org.apache.struts.taglib.logic.RedirectTag

doStartTag

public int doStartTag()
               throws JspException
Process the start tag.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class org.apache.struts.taglib.logic.RedirectTag
Throws:
JspException - if a JSP exception has occurred


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