org.talika.tarsis.taglib.form
Class CommandTag

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.CommandTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class CommandTag
extends BaseTag

Implementation of command tag.

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
CommandTag()
          Creates a new CommandTag object.
 
Method Summary
 java.lang.String controlName()
          Renders a string with the value of name attribute.
 java.lang.String controlValue()
          Renders a string with the value of value attribute.
 int doStartTag()
          Process the start tag for this instance.
 java.lang.String inputAttributes()
          Renders a string with values of input attributes.
 void release()
          Called on a Tag handler to release state.
 java.lang.String renderInputElement()
          Renders command's input tag.
 void setName(java.lang.String name)
          Sets name attribute value.
 
Methods inherited from class org.talika.tarsis.taglib.form.BaseTag
baseAttributes, doEndTag, 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

CommandTag

public CommandTag()
Creates a new CommandTag object.

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 SKIP_BODY.
Throws:
javax.servlet.jsp.JspException - if somethign goes wrong during processing.
See Also:
Tag.doStartTag()

renderInputElement

public final java.lang.String renderInputElement()
Renders command's input tag.

Returns:
String a string with rendered input tag.

controlName

public final java.lang.String controlName()
Renders a string with the value of name attribute.

Returns:
String a string with the value of name attribute

controlValue

public final java.lang.String controlValue()
Renders a string with the value of value attribute.

Returns:
String a string with the value of value attribute

inputAttributes

public java.lang.String inputAttributes()
Renders a string with values of input attributes.
There is no input attributes for this tag.

Returns:
String an empty string.

setName

public void setName(java.lang.String name)
Sets name attribute value.

Parameters:
name - String name attribute value.

release

public void release()
Called on a Tag handler to release state.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BaseTag
See Also:
Tag.release()


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