com.acsinet_solutions.cetia4.tags
Class DecimalFieldTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.acsinet_solutions.cetia4.tags.support.LogTagSupport
          extended by com.acsinet_solutions.cetia4.tags.TextFieldTag
              extended by com.acsinet_solutions.cetia4.tags.DecimalFieldTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public final class DecimalFieldTag
extends TextFieldTag

Dynamic text field input tag for Decimal number displaying

Author:
Santiago Arriaga
See Also:
Serialized Form

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
DecimalFieldTag()
           
 
Method Summary
 int doEndTag()
           
 void setFormat(java.lang.String format)
          Set the date format
protected  java.lang.String setupValue(java.lang.Object value)
          Setup the given object and return a suitable value.
 
Methods inherited from class com.acsinet_solutions.cetia4.tags.TextFieldTag
doStartTag, getInputTag, getValueFromParentForm, setEnabled, setName, setValue, writeInputTag, writeTag
 
Methods inherited from class com.acsinet_solutions.cetia4.tags.support.LogTagSupport
doCatch, doFinally, fillDynamicValues, fillDynamicValues, getConfiguration, getDynamicAttributes, getLocale, getLogger, getPortalPath, getRequest, getServletContext, getSession, setDynamicAttribute
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecimalFieldTag

public DecimalFieldTag()
Method Detail

setFormat

public void setFormat(java.lang.String format)
Set the date format


setupValue

protected java.lang.String setupValue(java.lang.Object value)
                               throws javax.servlet.jsp.JspException
Setup the given object and return a suitable value.

Overrides:
setupValue in class TextFieldTag
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TextFieldTag
Throws:
javax.servlet.jsp.JspException