Class ActionTagBase

×News: OpenXava 7.7 released - March 9 · Read more
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.openxava.web.taglib.ActionTagBase
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, IActionTag
Direct Known Subclasses:
ButtonTag, ImageTag, LinkTag

public class ActionTagBase extends javax.servlet.jsp.tagext.TagSupport implements IActionTag
Since:
5.8
Author:
Javier Paniza
See Also:
  • 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
     
    protected String
     
     
    protected String
    getTooltip(MetaAction metaAction)
     
    protected boolean
    isActionAvailable(MetaAction metaAction, String application, String module, javax.servlet.http.HttpServletRequest request)
     
    boolean
    Returns if the action is always available, regardless of the isAvailable() method result.
    protected void
    registerAction(String qualifiedActionName, String application, String module, javax.servlet.http.HttpServletRequest request)
     
    void
    setAction(String string)
     
    void
    setAlwaysAvailable(boolean alwaysAvailable)
    Sets if the action is always available, regardless of the isAvailable() method result.
    void
    setArgv(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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javax.servlet.jsp.tagext.IterationTag

    doAfterBody

    Methods inherited from interface javax.servlet.jsp.tagext.Tag

    doEndTag, doStartTag, getParent, release, setPageContext, setParent
  • Constructor Details

    • ActionTagBase

      public ActionTagBase()
  • Method Details

    • isActionAvailable

      protected boolean isActionAvailable(MetaAction metaAction, String application, String module, javax.servlet.http.HttpServletRequest request)
      Since:
      5.9
    • registerAction

      protected void registerAction(String qualifiedActionName, String application, String module, javax.servlet.http.HttpServletRequest request)
      Since:
      7.6.3
    • getTooltip

      protected String getTooltip(MetaAction metaAction)
    • getActionDescription

      protected String getActionDescription(MetaAction metaAction)
    • getAction

      public String getAction()
    • setAction

      public void setAction(String string)
      Specified by:
      setAction in interface IActionTag
    • getArgv

      public String getArgv()
    • setArgv

      public void setArgv(String string)
      Specified by:
      setArgv in interface IActionTag
    • 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 interface IActionTag
      Parameters:
      alwaysAvailable - true to make the action always available, false otherwise
    • filterApostrophes

      protected String filterApostrophes(String source)