Package org.openxava.web.taglib
Class ActionTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.openxava.web.taglib.ActionTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable
public class ActionTag
extends jakarta.servlet.jsp.tagext.TagSupport
- Author:
- Javier Paniza
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintdoEndTag()intgetArgv()booleanReturns if the action is always available, regardless of the isAvailable() method result.voidvoidsetAlwaysAvailable(boolean alwaysAvailable) Sets if the action is always available, regardless of the isAvailable() method result.voidMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
ActionTag
public ActionTag()
-
-
Method Details
-
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspException- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspException
-
doAfterBody
public int doAfterBody() throws jakarta.servlet.jsp.JspException- Specified by:
doAfterBodyin interfacejakarta.servlet.jsp.tagext.IterationTag- Overrides:
doAfterBodyin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspException
-
doEndTag
public int doEndTag() throws jakarta.servlet.jsp.JspException- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspException
-
getAction
-
setAction
-
getArgv
-
setArgv
-
isAlwaysAvailable
public boolean isAlwaysAvailable()Returns if the action is always available, regardless of the isAvailable() method result.- Returns:
- true if the action is always available, false otherwise
-
setAlwaysAvailable
public void setAlwaysAvailable(boolean alwaysAvailable) Sets if the action is always available, regardless of the isAvailable() method result.- Parameters:
alwaysAvailable- true to make the action always available, false otherwise
-