org.dbforms.taglib
Class DbUpdateButtonTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.dbforms.taglib.AbstractScriptHandlerTag
              extended by org.dbforms.taglib.AbstractDbBaseHandlerTag
                  extended by org.dbforms.taglib.AbstractDbBaseButtonTag
                      extended by org.dbforms.taglib.DbUpdateButtonTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class DbUpdateButtonTag
extends AbstractDbBaseButtonTag
implements javax.servlet.jsp.tagext.TryCatchFinally

this tag renders an update-button. #fixme - define abstract base class [should be fixed in release 0.6]

Author:
Joachim Peer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.dbforms.taglib.AbstractDbBaseButtonTag
FLAVOR_IMAGE, FLAVOR_MODERN, FLAVOR_STANDARD
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
DbUpdateButtonTag()
           
 
Method Summary
 void doFinally()
          DOCUMENT ME!
 int doStartTag()
          DOCUMENT ME!
 String getAssociatedRadio()
          DOCUMENT ME!
 String getShowAlways()
          DOCUMENT ME!
protected  String JsValidation()
          returns the JavaScript validation flags.
 void setAssociatedRadio(String associatedRadio)
          DOCUMENT ME!
 void setShowAlways(String string)
          DOCUMENT ME!
 
Methods inherited from class org.dbforms.taglib.AbstractDbBaseButtonTag
doEndTag, getAlt, getBorder, getButtonBegin, getButtonEnd, getCaption, getChoosenFlavor, getDataTag, getDisabledBehaviour, getDisabledImage, getDisabledImageAlt, getDisabledImageHeight, getDisabledImageSrc, getDisabledImageWidth, getFollowUp, getFollowUpOnError, getSrc, getTable, getUniqueID, prepareStyles, setAlt, setBorder, setCaption, setDisabledBehaviour, setDisabledImageAlt, setDisabledImageHeight, setDisabledImageSrc, setDisabledImageWidth, setFlavor, setFollowUp, setFollowUpOnError, setParent, setSrc
 
Methods inherited from class org.dbforms.taglib.AbstractDbBaseHandlerTag
customFormat, escapeHTML, getCustomFormatter, getDefaultValue, getEscaper, getEscaperClass, getField, getFieldObject, getFieldValue, getFormattedFieldValue, getFormatter, getFormFieldDefaultValue, getFormFieldName, getFormFieldValue, getLocale, getMaxlength, getName, getParentForm, getPattern, getReadOnlyStyleClass, getStyleClass, hasReadOnlySet, renderOldValueHtmlInputField, renderPatternHtmlInputField, setCustomFormatter, setDefaultValue, setEscaperClass, setField, setFieldName, setMaxlength, setNullFieldValue, setPattern, setReadOnly, setReadOnlyStyleClass, typicalDefaultValue, writeOutSpecialValues
 
Methods inherited from class org.dbforms.taglib.AbstractScriptHandlerTag
doCatch, getAccessKey, getConfig, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getTabIndex, getTitle, prepareEventHandlers, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setTabIndex, setTitle
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.TryCatchFinally
doCatch
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext
 

Constructor Detail

DbUpdateButtonTag

public DbUpdateButtonTag()
Method Detail

setAssociatedRadio

public void setAssociatedRadio(String associatedRadio)
DOCUMENT ME!

Parameters:
associatedRadio - DOCUMENT ME!

getAssociatedRadio

public String getAssociatedRadio()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setShowAlways

public void setShowAlways(String string)
DOCUMENT ME!

Parameters:
string -

getShowAlways

public String getShowAlways()
DOCUMENT ME!

Returns:

doFinally

public void doFinally()
DOCUMENT ME!

Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally
Overrides:
doFinally in class AbstractDbBaseButtonTag
See Also:
TryCatchFinally.doFinally()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
DOCUMENT ME!

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class AbstractDbBaseButtonTag
Returns:
DOCUMENT ME!
Throws:
javax.servlet.jsp.JspException - DOCUMENT ME!
javax.servlet.jsp.JspException - DOCUMENT ME!

JsValidation

protected String JsValidation()
returns the JavaScript validation flags. Will be put into the onClick event of the main form Must be overloaded by update and delete button

Overrides:
JsValidation in class AbstractDbBaseButtonTag
Returns:
the java script validation vars.


Copyright © 2002-2006 DbForms. All Rights Reserved.