org.makumba.forms.tags
Class SearchTag
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.FormTagBase
org.makumba.forms.tags.SearchTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag
public class SearchTag
- extends FormTagBase
This class provides a search form. It slightly differs from other forms in the way that it uses it's own tags, namely
- Version:
- $Id: SearchTag.java,v 1.1 Oct 9, 2007 1:50:47 AM rudi Exp $
- Author:
- Rudolf Mayer
- See Also:
- Serialized Form
Fields inherited from class org.makumba.forms.tags.FormTagBase |
__MAKUMBA__FORM__COUNTER__, afterHandler, annotation, annotationSeparator, baseObject, basePointer, bodyContent, ddp, fdp, field, formAction, formMessage, formMethod, formName, handler, lazyEvaluatedInputs, multipleSubmitErrorMsg, operation, reloadFormOnError, responder, starttime, styleId, triggerEvent, type |
Methods inherited from class org.makumba.forms.tags.FormTagBase |
allowEmptyBody, checkNoParent, doAnalyzedEndTag, doAnalyzedStartTag, doEndAnalyze, doInitBody, doStartAnalyze, findParentForm, findRootForm, getDefaultExpr, getFormIdentifier, getFormSuffixIdentifier, getNestedFormNames, getOperation, getSubmitJavascriptCall, registerPossibleAttributeValues, setAfterHandler, setAnnotation, setAnnotationSeparator, setBodyContent, setClientSideValidation, setField, setHandler, setMessage, setMethod, setMultipart, setMultipleSubmitErrorMsg, setName, setObject, setOnReset, setOnSubmit, setOperation, setReloadFormOnError, setStyleId, setTarget, setTriggerEvent, setType, shouldComputeBasePointer |
Methods inherited from class org.makumba.commons.tags.GenericMakumbaTag |
doStartTag, getParams, 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, setTitle, setType, setUrlEncode, toString |
Methods inherited from class org.makumba.analyser.AnalysableTag |
addTagText, allowsIdenticalKey, canHaveBody, checkAttributeValues, doEndTag, getElementData, getPageContext, getPageTextInfo, getTagKey, getTagText, needPageCache, notEmpty, onlyInt, registerAttributeValues, setTagDataAtAnalysis |
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 |
ATTRIBUTE_NAME_DONE
public static final String ATTRIBUTE_NAME_DONE
- See Also:
- Constant Field Values
ATTRIBUTE_NAME_QUERYSTRING
public static final String ATTRIBUTE_NAME_QUERYSTRING
- See Also:
- Constant Field Values
ATTRIBUTE_NAME_VARIABLE_FROM
public static final String ATTRIBUTE_NAME_VARIABLE_FROM
- See Also:
- Constant Field Values
ATTRIBUTE_NAME_WHERE
public static final String ATTRIBUTE_NAME_WHERE
- See Also:
- Constant Field Values
MATCH_AFTER
public static final String MATCH_AFTER
- See Also:
- Constant Field Values
MATCH_BEFORE
public static final String MATCH_BEFORE
- See Also:
- Constant Field Values
MATCH_BEGINS
public static final String MATCH_BEGINS
- See Also:
- Constant Field Values
MATCH_BETWEEN
public static final String MATCH_BETWEEN
- See Also:
- Constant Field Values
MATCH_BETWEEN_INCLUSIVE
public static final String MATCH_BETWEEN_INCLUSIVE
- See Also:
- Constant Field Values
MATCH_CONTAINS
public static final String MATCH_CONTAINS
- See Also:
- Constant Field Values
MATCH_ENDS
public static final String MATCH_ENDS
- See Also:
- Constant Field Values
MATCH_EQUALS
public static final String MATCH_EQUALS
- See Also:
- Constant Field Values
MATCH_GREATER
public static final String MATCH_GREATER
- See Also:
- Constant Field Values
MATCH_LESS
public static final String MATCH_LESS
- See Also:
- Constant Field Values
MATCH_EQUAL_GREATER
public static final String MATCH_EQUAL_GREATER
- See Also:
- Constant Field Values
MATCH_EQUAL_LESS
public static final String MATCH_EQUAL_LESS
- See Also:
- Constant Field Values
SUFFIX_INPUT_MATCH
public static final String SUFFIX_INPUT_MATCH
- See Also:
- Constant Field Values
OBJECT_NAME
public static final String OBJECT_NAME
- See Also:
- Constant Field Values
in
DataDefinition in
resultLabel
public String resultLabel
SearchTag
public SearchTag()
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
initialiseState
public void initialiseState()
- Inherited
- Overrides:
initialiseState
in class FormTagBase
setAction
public void setAction(String s)
- Overrides:
setAction
in class FormTagBase
setIn
public void setIn(String s)
setResultLabel
public void setResultLabel(String resultLabel)
setTagKey
public void setTagKey(PageCache pageCache)
- Inherited
- 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)
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
containsInput
public boolean containsInput(String inputName)