net.mlw.vlh.web.tag
Class AddParamTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
net.mlw.vlh.web.tag.AddParamTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag
- public class AddParamTag
- extends javax.servlet.jsp.tagext.BodyTagSupport
The tag that append parameters to url for any paramaddable tag in table,such
are tag for root and tag for action.
- Version:
- $Revision: 1.11 $ $Date: 2005/11/23 14:51:53 $
- Author:
- Andrej Zachar
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
AddParamTag
public AddParamTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Throws:
NoSuchMethodException
InvocationTargetException
IllegalAccessException
javax.servlet.jsp.JspException
- See Also:
Tag.doStartTag()
addActionParamPrefix
protected String addActionParamPrefix(String param)
- Parameters:
param
- Add action param prefix if it is a temp parameter.
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
- See Also:
BodyTagSupport.doAfterBody()
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
- See Also:
Tag.doEndTag()
getProperty
public String getProperty()
- Returns:
- Returns the property.
setProperty
public void setProperty(String property)
- Parameters:
property
- The property to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The url parameter name to set.
getValue
public String getValue()
- Returns:
- Returns the value.
setValue
public void setValue(String value)
- Parameters:
value
- The value to set.
isTemp
public boolean isTemp()
- Returns:
- Returns the temp.
setTemp
public void setTemp(boolean temp)
- Default is false. If true,
append prefix ACTION_TEMP_PARAM_PREFIX before every action parameter.
- Parameters:
temp
- The temp to set.
release
public void release()
- Called on a Tag handler to release state.
The page compiler guarantees that JSP page implementation
objects will invoke this method on all tag handlers,
but there may be multiple invocations on doStartTag and doEndTag in between.
- See Also:
Tag.release()
Copyright © 2003-2006 mlavilson. All Rights Reserved.