com.opensymphony.webwork.views.jsp.ui
Class FormTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.opensymphony.webwork.views.jsp.WebWorkTagSupport
com.opensymphony.webwork.views.jsp.ParameterizedTagSupport
com.opensymphony.webwork.views.jsp.ui.AbstractUITag
com.opensymphony.webwork.views.jsp.ui.AbstractClosingUITag
com.opensymphony.webwork.views.jsp.ui.FormTag
- All Implemented Interfaces:
- IterationTag, ParamTag.Parametric, Serializable, Tag
- public class FormTag
- extends AbstractClosingUITag
FormTag
- Author:
- Jason Carreira
Created Apr 1, 2003 8:19:47 PM
- See Also:
- Serialized Form
Fields inherited from class com.opensymphony.webwork.views.jsp.ui.AbstractUITag |
cssClassAttr, cssStyleAttr, disabledAttr, labelAttr, labelPositionAttr, nameAttr, onblurAttr, onchangeAttr, onclickAttr, ondblclickAttr, onfocusAttr, onkeydownAttr, onkeypressAttr, onkeyupAttr, onmousedownAttr, onmousemoveAttr, onmouseoutAttr, onmouseoverAttr, onmouseupAttr, onselectAttr, requiredAttr, tabindexAttr, templateAttr, templateDir, theme, themeAttr, valueAttr |
Methods inherited from class com.opensymphony.webwork.views.jsp.ui.AbstractUITag |
buildTemplateName, doEndTag, evaluateParams, getTemplateDir, getTemplateName, getTheme, getValueClassType, mergeTemplate, setCssClass, setCssStyle, setDisabled, setLabel, setLabelposition, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequired, setTabindex, setTemplate, setTheme, setValue |
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 |
OPEN_TEMPLATE
public static final String OPEN_TEMPLATE
- See Also:
- Constant Field Values
TEMPLATE
public static final String TEMPLATE
- See Also:
- Constant Field Values
FormTag
public FormTag()
setAction
public void setAction(String action)
setTarget
public void setTarget(String target)
getActionClass
public Class getActionClass()
getActionName
public String getActionName()
getDefaultOpenTemplate
public String getDefaultOpenTemplate()
- Specified by:
getDefaultOpenTemplate
in class AbstractClosingUITag
setEnctype
public void setEnctype(String enctype)
setMethod
public void setMethod(String method)
setNamespace
public void setNamespace(String namespace)
setValidate
public void setValidate(String validate)
evaluateExtraParams
public void evaluateExtraParams(com.opensymphony.xwork.util.OgnlValueStack stack)
- Overrides:
evaluateExtraParams
in class AbstractUITag
getDefaultTemplate
protected String getDefaultTemplate()
- Description copied from class:
AbstractUITag
- A contract that requires each concrete UI Tag to specify which template should be used as a default. For
example, the CheckboxTab might return "checkbox.vm" while the RadioTag might return "radio.vm". This value
not begin with a '/' unless you intend to make the path absolute rather than relative to the
current theme.
- Specified by:
getDefaultTemplate
in class AbstractUITag
- Returns:
- The name of the template to be used as the default.
evaluateNameValue
protected boolean evaluateNameValue()
- Overrides:
evaluateNameValue
in class AbstractUITag
reset
protected void reset()
- Resets the attributes of this tag so that the tag may be reused. As a general rule, only
properties that are not specified as an attribute or properties that are derived need to be
reset. Examples of this would include the parameters Map in ParameterizedTag and the
namespace in the ActionTag (which can be a derived value). This should be the last
thing called as part of the doEndTag
- Overrides:
reset
in class ParameterizedTagSupport