org.makumba.forms.tags
Class NewTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.makumba.analyser.AnalysableTag
org.makumba.commons.tags.GenericMakumbaTag
org.makumba.forms.tags.FormTagBase
org.makumba.forms.tags.NewTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag
public class NewTag
- extends FormTagBase
mak:new tag
- Version:
- $Id: NewTag.java 2298 2008-05-12 00:32:00Z manuel_gay $
- Author:
- Cristian Bogdan
- See Also:
- Serialized Form
| Fields inherited from class org.makumba.forms.tags.FormTagBase |
__MAKUMBA__FORM__COUNTER__, afterHandler, annotation, annotationSeparator, baseObject, basePointer, bodyContent, ddp, fdp, formAction, formMessage, formMethod, formName, handler, lazyEvaluatedInputs, reloadFormOnError, responder, starttime |
| Methods inherited from class org.makumba.forms.tags.FormTagBase |
checkNoParent, doAnalyzedEndTag, doAnalyzedStartTag, doEndAnalyze, doInitBody, doStartAnalyze, findParentForm, findRootForm, getDefaultExpr, getFormIdentifier, getNestedFormNames, getOperation, setAction, setAfterHandler, setAnnotation, setAnnotationSeparator, setBodyContent, setClientSideValidation, setHandler, setMessage, setMethod, setMultipart, setName, setObject, setOnReset, setOnSubmit, setReloadFormOnError, setTarget, shouldComputeBasePointer |
| Methods inherited from class org.makumba.commons.tags.GenericMakumbaTag |
doStartTag, getParams, setAddTitle, setCols, setConvertLinks, 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, setUrlEncode, toString |
| Methods inherited from class org.makumba.analyser.AnalysableTag |
addTagText, allowsIdenticalKey, canHaveBody, checkValidAttributeValues, doEndTag, getAnalyzedTag, getCurrentBodyTag, getPageCache, getPageContext, getPageTextInfo, getRunningTag, getTagKey, getTagText, getThreadTagStack, initializeThread, needPageCache, onlyInt, setTagDataAtAnalysis |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
type
DataDefinition type
multipleSubmitErrorMsg
String multipleSubmitErrorMsg
NewTag
public NewTag()
setType
public void setType(String s)
- Overrides:
setType in class GenericMakumbaTag
setMultipleSubmitErrorMsg
public void setMultipleSubmitErrorMsg(String s)
setTagKey
public void setTagKey(PageCache pageCache)
- Sets tagKey to uniquely identify this tag. Called at analysis time before doStartAnalyze() and at runtime before
doMakumbaStartTag()
- Overrides:
setTagKey in class FormTagBase
- Parameters:
pageCache - the page cache of the current page- See Also:
AnalysableTag.doAnalyzedStartTag(org.makumba.analyser.PageCache),
AnalysableTag.doStartAnalyze(org.makumba.analyser.PageCache)
initialiseState
public void initialiseState()
- Resets and initialises the tag's state, to work in a tag pool. See bug 583. If this method is overriden in a
child class, the child's method must call super.initaliseState().
- Overrides:
initialiseState in class FormTagBase
getDataTypeAtAnalysis
public DataDefinition getDataTypeAtAnalysis(PageCache pageCache)
- Description copied from class:
FormTagBase
- The basic data type inside the form. null for generic forms
- Overrides:
getDataTypeAtAnalysis in class FormTagBase
getResponderOperation
public ResponderOperation getResponderOperation(String operation)
- Description copied from class:
FormTagBase
- Gives the operation associated with this form tag. Each tag should implement its own
- Overrides:
getResponderOperation in class FormTagBase
- Parameters:
operation - name of the operation
- Returns:
- a
ResponderOperation object holding the operation information
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 FormTagBase