JSF-Spring

de.mindmatters.faces.taglib.jsp
Class HtmlFormTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by de.mindmatters.faces.taglib.jsp.AbstractUIComponentTag
          extended by de.mindmatters.faces.taglib.jsp.AbstractHtmlComponentTag
              extended by de.mindmatters.faces.taglib.jsp.AbstractHtmlEventHandlerComponentTag
                  extended by de.mindmatters.faces.taglib.jsp.AbstractHtmlActionSourceComponentTag
                      extended by de.mindmatters.faces.taglib.jsp.HtmlFormTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class HtmlFormTag
extends AbstractHtmlActionSourceComponentTag

HtmlFormTag represents the HTML jsp tag for UIComponent HtmlForm.

Author:
Andreas Kuhrwahl

Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
HtmlFormTag()
           
 
Method Summary
 java.lang.String getAccept()
          Returns the accept attribute value.
 java.lang.String getAcceptCharset()
          Returns the acceptCharset attribute value.
 java.lang.String getComponentType()
          Specify the "component type name" used together with the component's family and the Application object to create a UIComponent instance for this tag.
 java.lang.String getEnctype()
          Returns the enctype attribute value.
 java.lang.String getMethod()
          Returns the method attribute value.
 java.lang.String getName()
          Returns the name attribute value.
 java.lang.String getOnreset()
          Returns the onreset attribute value.
 java.lang.String getOnsubmit()
          Returns the onsubmit attribute value.
 java.lang.String getRendererType()
          Specify the "renderer type name" used together with the current renderKit to get a Renderer instance for the corresponding UIComponent.
 java.lang.String getTarget()
          Returns the target attribute value.
 java.lang.String getTransient()
          Returns the transient attribute value.
 void release()
          
 void setAccept(java.lang.String accept)
          Sets the accept attribute value.
 void setAcceptCharset(java.lang.String acceptCharset)
          Sets the acceptCharset attribute value.
protected  void setActionProperty(UIComponent component)
          Sets the action property on the associated UIComponent component.
 void setEnctype(java.lang.String enctype)
          Sets the enctype attribute value.
 void setMethod(java.lang.String method)
          Sets the method attribute value.
 void setName(java.lang.String name)
          Sets the name attribute value.
 void setOnreset(java.lang.String onreset)
          Sets the onreset attribute value.
 void setOnsubmit(java.lang.String onsubmit)
          Sets the onsubmit attribute value.
protected  void setProperties(UIComponent component)
          
 void setTarget(java.lang.String target)
          Sets the target attribute value.
 void setTransient(java.lang.String transientValue)
          Sets the transient attribute value.
 
Methods inherited from class de.mindmatters.faces.taglib.jsp.AbstractHtmlActionSourceComponentTag
getAction, getActionListener, getImmediate, setAction, setActionListener, setActionListenerProperty, setImmediate, setImmediateProperty
 
Methods inherited from class de.mindmatters.faces.taglib.jsp.AbstractHtmlEventHandlerComponentTag
getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup
 
Methods inherited from class de.mindmatters.faces.taglib.jsp.AbstractHtmlComponentTag
getDir, getLang, getStyle, getStyleClass, getTitle, setDir, setLang, setStyle, setStyleClass, setTitle
 
Methods inherited from class de.mindmatters.faces.taglib.jsp.AbstractUIComponentTag
addValueBindingIfNecessary, setBooleanProperty, setStringProperty
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlFormTag

public HtmlFormTag()
Method Detail

getComponentType

public java.lang.String getComponentType()
Specify the "component type name" used together with the component's family and the Application object to create a UIComponent instance for this tag. This method is called by other methods in this class, and is intended to be overridden in subclasses to specify the actual component type to be created.

Specified by:
getComponentType in class UIComponentTag
Returns:
a registered component type name, never null.

getRendererType

public java.lang.String getRendererType()
Specify the "renderer type name" used together with the current renderKit to get a Renderer instance for the corresponding UIComponent.

A JSP tag can return null here to use the default renderer type string. If non-null is returned, then the UIComponent's setRendererType method will be called passing this value, and this will later affect the type of renderer object returned by UIComponent.getRenderer().

Specified by:
getRendererType in class UIComponentTag

release

public void release()

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class AbstractHtmlActionSourceComponentTag

setProperties

protected void setProperties(UIComponent component)

Overrides:
setProperties in class AbstractHtmlActionSourceComponentTag

setActionProperty

protected void setActionProperty(UIComponent component)
Sets the action property on the associated UIComponent component.

Overrides:
setActionProperty in class AbstractHtmlActionSourceComponentTag
Parameters:
component - The associated UIComponent

getAccept

public final java.lang.String getAccept()
Returns the accept attribute value.

Returns:
The accept attribute value

setAccept

public final void setAccept(java.lang.String accept)
Sets the accept attribute value.

Parameters:
accept - The accept attribute value

getAcceptCharset

public final java.lang.String getAcceptCharset()
Returns the acceptCharset attribute value.

Returns:
The acceptCharset attribute value

setAcceptCharset

public final void setAcceptCharset(java.lang.String acceptCharset)
Sets the acceptCharset attribute value.

Parameters:
acceptCharset - The acceptCharset attribute value

getEnctype

public final java.lang.String getEnctype()
Returns the enctype attribute value.

Returns:
The enctype attribute value

setEnctype

public final void setEnctype(java.lang.String enctype)
Sets the enctype attribute value.

Parameters:
enctype - The enctype attribute value

getName

public final java.lang.String getName()
Returns the name attribute value.

Returns:
The name attribute value

setName

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

Parameters:
name - The name attribute value

getOnreset

public final java.lang.String getOnreset()
Returns the onreset attribute value.

Returns:
The onreset attribute value

setOnreset

public final void setOnreset(java.lang.String onreset)
Sets the onreset attribute value.

Parameters:
onreset - The onreset attribute value

getOnsubmit

public final java.lang.String getOnsubmit()
Returns the onsubmit attribute value.

Returns:
The onsubmit attribute value

setOnsubmit

public final void setOnsubmit(java.lang.String onsubmit)
Sets the onsubmit attribute value.

Parameters:
onsubmit - The onsubmit attribute value

getTarget

public final java.lang.String getTarget()
Returns the target attribute value.

Returns:
The target attribute value

setTarget

public final void setTarget(java.lang.String target)
Sets the target attribute value.

Parameters:
target - The target attribute value

getMethod

public final java.lang.String getMethod()
Returns the method attribute value.

Returns:
The method attribute value

setMethod

public final void setMethod(java.lang.String method)
Sets the method attribute value.

Parameters:
method - The method attribute value
Throws:
java.lang.IllegalArgumentException - if method is 'GET' and no ViewBuilder is configured

getTransient

public final java.lang.String getTransient()
Returns the transient attribute value.

Returns:
The transient attribute value

setTransient

public final void setTransient(java.lang.String transientValue)
Sets the transient attribute value.

Parameters:
transientValue - the transient value

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG