org.araneaframework.jsp.tag.uilib.form.element.text
Class BaseFormTextInputHtmlTag

java.lang.Object
  extended by org.araneaframework.jsp.tag.BaseTag
      extended by org.araneaframework.jsp.tag.PresentationTag
          extended by org.araneaframework.jsp.tag.uilib.form.BaseFormElementHtmlTag
              extended by org.araneaframework.jsp.tag.uilib.form.element.text.BaseFormTextInputHtmlTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally, AttributedTagInterface, ContainedTagInterface, StyledTagInterface, FormElementTagInterface
Direct Known Subclasses:
FormAutoCompleteTextInputHtmlTag, FormFloatInputHtmlTag, FormNumberInputHtmlTag, FormPasswordInputHtmlTag, FormTextInputHtmlTag

public class BaseFormTextInputHtmlTag
extends BaseFormElementHtmlTag

Standard text input form element base tag.

Author:
Oleg Mürk

Field Summary
protected  String disabledRenderMode
           
protected  String onChangePrecondition
           
protected  Long size
           
 
Fields inherited from class org.araneaframework.jsp.tag.uilib.form.BaseFormElementHtmlTag
accessKey, accessKeyId, backgroundValidation, controlViewModel, derivedId, events, FORMELEMENT_SPAN_PREFIX, formElementViewModel, formFullId, formViewModel, globalUpdateRegions, id, localizedLabel, RENDER_DISABLED_DISABLED, RENDER_DISABLED_READONLY, tabindex, updateRegionNames, updateRegions, validateOnEvent
 
Fields inherited from class org.araneaframework.jsp.tag.PresentationTag
attributes, baseStyleClass, style, styleClass
 
Fields inherited from class org.araneaframework.jsp.tag.BaseTag
GLOBAL_CONTEXT_ENTRIES_KEY, pageContext, parent
 
Fields inherited from interface org.araneaframework.jsp.tag.basic.AttributedTagInterface
ATTRIBUTED_TAG_KEY, HTML_ELEMENT_KEY
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
BaseFormTextInputHtmlTag()
           
 
Method Summary
 void doFinally()
          Override it to free additional resources, always call superclass method too.
protected  int doStartTag(Writer out)
          Internal callback: before tag.
 void setDisabledRenderMode(String disabledRenderMode)
           
 void setOnChangePrecondition(String onChangePrecondition)
           
 void setSize(String size)
           
protected  void writeTextInput(Writer out, String inputType)
           
protected  void writeTextInput(Writer out, String inputType, boolean writeValue, Map customAttributes)
           
 
Methods inherited from class org.araneaframework.jsp.tag.uilib.form.BaseFormElementHtmlTag
assertControlType, doEndTag, evaluateDisabledRenderMode, getFullFieldId, getHasElementContextSpan, setAccessKeyId, setEvents, setGlobalUpdateRegions, setHasElementContextSpan, setId, setTabindex, setUpdateRegions, setValidateOnEvent, writeBackgroundValidationAttribute, writeFormElementContextClose, writeFormElementContextOpen, writeFormElementContextOpen, writeFormElementContextOpen, writeFormElementValidationErrorMessages, writeFormElementValidityMarkers, writeSubmitScriptForUiEvent, writeSubmitScriptForUiEvent
 
Methods inherited from class org.araneaframework.jsp.tag.PresentationTag
addAttribute, calculateStyleClass, getStyle, getStyleClass, setPageContext, setStyle, setStyleClass
 
Methods inherited from class org.araneaframework.jsp.tag.BaseTag
addContextEntry, doCatch, doEndTag, doStartTag, evaluate, evaluateNotNull, executeEndSubtag, executeEndTagAndUnregister, executeStartSubtag, executeSubtag, getConfiguration, getContextEntry, getContextWidget, getContextWidgetFullId, getEnvironment, getLocalizationContext, getOutputData, getParent, hideGlobalContextEntries, registerAndExecuteStartTag, registerSubtag, release, requireContextEntry, restoreGlobalContextEntries, setParent, unregisterSubtag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.araneaframework.jsp.tag.StyledTagInterface
setStyle, setStyleClass
 
Methods inherited from interface org.araneaframework.jsp.tag.ContainedTagInterface
doEndTag, doStartTag, release, setPageContext
 
Methods inherited from interface org.araneaframework.jsp.tag.basic.AttributedTagInterface
addAttribute
 

Field Detail

size

protected Long size

onChangePrecondition

protected String onChangePrecondition

disabledRenderMode

protected String disabledRenderMode
Constructor Detail

BaseFormTextInputHtmlTag

public BaseFormTextInputHtmlTag()
Method Detail

doStartTag

protected int doStartTag(Writer out)
                  throws Exception
Description copied from class: BaseTag
Internal callback: before tag.

Overrides:
doStartTag in class BaseFormElementHtmlTag
Throws:
Exception

setSize

public void setSize(String size)
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setOnChangePrecondition

public void setOnChangePrecondition(String onChangePrecondition)
                             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setDisabledRenderMode

public void setDisabledRenderMode(String disabledRenderMode)
                           throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
Since:
1.1.3

writeTextInput

protected void writeTextInput(Writer out,
                              String inputType)
                       throws Exception
Throws:
Exception

writeTextInput

protected void writeTextInput(Writer out,
                              String inputType,
                              boolean writeValue,
                              Map customAttributes)
                       throws Exception
Throws:
Exception

doFinally

public void doFinally()
Description copied from class: BaseTag
Override it to free additional resources, always call superclass method too.

Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally
Specified by:
doFinally in interface ContainedTagInterface
Overrides:
doFinally in class BaseFormElementHtmlTag