org.talika.tarsis.taglib.form
Class BaseXButtonTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.talika.tarsis.taglib.form.BaseTag
          extended by org.talika.tarsis.taglib.form.BaseControlTag
              extended by org.talika.tarsis.taglib.form.BaseXButtonTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
XButtonTag, XResetTag, XSubmitTag

public class BaseXButtonTag
extends BaseControlTag

Base implementation for button form control tags.

Version:
$Revision: 130 $
Author:
Jose M. Palomar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
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
  BaseXButtonTag()
          Creates a new BaseXButtonTag object.
protected BaseXButtonTag(java.lang.String type)
          Creates a new BaseXButtonTag object for given type.
 
Method Summary
 int doEndTag()
          Process the end tag for this instance.
 int doStartTag()
          Process the start tag for this instance.
 java.lang.String renderButtonEndElement()
          Renders button end tag.
 java.lang.String renderButtonStartElement()
          Renders button start tag.
 
Methods inherited from class org.talika.tarsis.taglib.form.BaseControlTag
controlAttributes, controlEvents, controlName, controlValue, release, setAccesskey, setDisabled, setName, setOnblur, setOnchange, setOnfocus, setOnselect, setReadonly, setTabindex, setValue
 
Methods inherited from class org.talika.tarsis.taglib.form.BaseTag
baseAttributes, intrinsicEvents, setId, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setStyle
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseXButtonTag

public BaseXButtonTag()
Creates a new BaseXButtonTag object.


BaseXButtonTag

protected BaseXButtonTag(java.lang.String type)
Creates a new BaseXButtonTag object for given type.

Parameters:
type - String button type.
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start tag for this instance.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class BaseTag
Returns:
int EVAL_BODY_INCLUDE.
Throws:
javax.servlet.jsp.JspException - if somethign goes wrong during processing.
See Also:
Tag.doStartTag()

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the end tag for this instance.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class BaseTag
Returns:
int EVAL_PAGE.
Throws:
javax.servlet.jsp.JspException - if somethign goes wrong during processing.
See Also:
Tag.doEndTag()

renderButtonStartElement

public final java.lang.String renderButtonStartElement()
Renders button start tag.

Returns:
String a string with rendered button start tag.

renderButtonEndElement

public final java.lang.String renderButtonEndElement()
Renders button end tag.

Returns:
String a string with rendered button end tag.


Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.