Package org.openxava.web.taglib
Class ActionTagBase
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.openxava.web.taglib.ActionTagBase
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
,IActionTag
public class ActionTagBase extends javax.servlet.jsp.tagext.TagSupport implements IActionTag
- Since:
- 5.8
- Author:
- Javier Paniza
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionTagBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
filterApostrophes(java.lang.String source)
java.lang.String
getAction()
protected java.lang.String
getActionDescription(MetaAction metaAction)
java.lang.String
getArgv()
protected java.lang.String
getTooltip(MetaAction metaAction)
protected boolean
isActionAvailable(MetaAction metaAction, java.lang.String application, java.lang.String module, javax.servlet.http.HttpServletRequest request)
boolean
isAlwaysAvailable()
Returns if the action is always available, regardless of the isAvailable() method result.void
setAction(java.lang.String string)
void
setAlwaysAvailable(boolean alwaysAvailable)
Sets if the action is always available, regardless of the isAvailable() method result.void
setArgv(java.lang.String string)
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
isActionAvailable
protected boolean isActionAvailable(MetaAction metaAction, java.lang.String application, java.lang.String module, javax.servlet.http.HttpServletRequest request)
- Since:
- 5.9
-
getTooltip
protected java.lang.String getTooltip(MetaAction metaAction)
-
getActionDescription
protected java.lang.String getActionDescription(MetaAction metaAction)
-
getAction
public java.lang.String getAction()
-
setAction
public void setAction(java.lang.String string)
- Specified by:
setAction
in interfaceIActionTag
-
getArgv
public java.lang.String getArgv()
-
setArgv
public void setArgv(java.lang.String string)
- Specified by:
setArgv
in interfaceIActionTag
-
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.- Specified by:
setAlwaysAvailable
in interfaceIActionTag
- Parameters:
alwaysAvailable
- true to make the action always available, false otherwise
-
filterApostrophes
protected java.lang.String filterApostrophes(java.lang.String source)
-
-