org.makumba.forms.tags
Class ActionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.makumba.analyser.AnalysableElement
org.makumba.analyser.AnalysableTag
org.makumba.commons.tags.GenericMakumbaTag
org.makumba.forms.tags.ActionTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag
public class ActionTag
- extends GenericMakumbaTag
- implements BodyTag
mak:action tag
- Version:
- $Id: ActionTag.java 5151 2010-05-18 19:07:27Z rosso_nero $
- Author:
- Cristian Bogdan
- See Also:
- Serialized Form
Methods inherited from class org.makumba.commons.tags.GenericMakumbaTag |
doStartTag, getParams, initialiseState, isAttribute, setAddTitle, setCols, setDefault, setElementSeparator, setEllipsis, setEllipsisLength, setEmpty, setFormat, setHtml, setLabelSeparator, setLineSeparator, setLongLineLength, setMaxlength, setMaxLength, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setRows, setSize, setStyle, setStyleClass, setStyleId, setTitle, setType, setType, setUrlEncode, toString |
Methods inherited from class org.makumba.analyser.AnalysableTag |
addTagText, allowsIdenticalKey, canHaveBody, checkAttributeValues, doEndAnalyze, doEndTag, getElementData, getPageContext, getPageTextInfo, getTagKey, getTagText, notEmpty, onlyInt, registerAttributeValues, registerPossibleAttributeValues, setTagDataAtAnalysis, setTagKey |
Methods inherited from class org.makumba.analyser.AnalysableElement |
checkTagFound, discardJSPParsingData, getAnalyzedElementData, getCurrentBodyTagData, getElementAfter, getElementBefore, getPageCache, getPageCache, getRunningElementData, getTagByAttribute, getTagById, getThreadElementStack, initializeThread, keepAnalysisState, setAnalyzedElementData, setRunningElementData |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
bodyContent
BodyContent bodyContent
ActionTag
public ActionTag()
setBodyContent
public void setBodyContent(BodyContent bc)
- Specified by:
setBodyContent
in interface BodyTag
needPageCache
protected boolean needPageCache()
- Indicates if the tag needs the page cache
- Overrides:
needPageCache
in class AnalysableTag
- Returns:
true
if page cache is needed, false
otherwise
doAnalyzedStartTag
public int doAnalyzedStartTag(PageCache pageCache)
- This always returns EVAL_BODY_TAG so we make sure
doInitBody()
is called
- Overrides:
doAnalyzedStartTag
in class AnalysableTag
- Parameters:
pageCache
- the page cache of the current page- See Also:
AnalysableTag.doStartTag()
doStartAnalyze
public void doStartAnalyze(PageCache pageCache)
- Description copied from class:
AnalysableTag
- Starts the analysis of the tag, without knowing what tags follow it in the page. Typically this method will
allocate initial data structures, that are then completed at doEndAnalyze()
- Overrides:
doStartAnalyze
in class AnalysableTag
- Parameters:
pageCache
- The page cache for the current page
doInitBody
public void doInitBody()
- Specified by:
doInitBody
in interface BodyTag
doAnalyzedEndTag
public int doAnalyzedEndTag(PageCache pageCache)
throws JspException
- Description copied from class:
AnalysableTag
- makumba-specific endTag
- Overrides:
doAnalyzedEndTag
in class AnalysableTag
- Parameters:
pageCache
- The page cache for the current page
- Throws:
JspException
- See Also:
AnalysableTag.doEndTag()
doAnalyzedCleanup
protected void doAnalyzedCleanup()
- Description copied from class:
AnalysableTag
- Called by doEndTag in its finally block. Use it to clean references that will not be used next time the servlet
container uses the tag object.
- Overrides:
doAnalyzedCleanup
in class GenericMakumbaTag