public class FormTag extends AbstractFacesTag
Render an input form that is submitted to a Struts Action
,
for the Struts-Faces Integration Library.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
action
The
path of the Struts Action to which
this form should be submitted. |
protected java.lang.String |
enctype
The content encoding type to use.
|
protected java.lang.String |
focus
The name of the field to which focus should be set when this
form is displayed.
|
protected java.lang.String |
focusIndex
The subscript of the focus field array to receive focus.
|
protected java.lang.String |
onreset
The JavaScript reset event handler.
|
protected java.lang.String |
onsubmit
The JavaScript submit event handler.
|
protected java.lang.String |
target
The window target for this submit.
|
bundle, style, styleClass, value
bodyContent, pageContext, UNIQUE_ID_PREFIX
Constructor and Description |
---|
FormTag() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentType()
Return the type of component to be created for this tag.
|
java.lang.String |
getRendererType()
Return the
rendererType to be used for rendering
our component. |
void |
release()
Release any allocated resources.
|
void |
setAction(java.lang.String action) |
void |
setEnctype(java.lang.String enctype) |
void |
setFocus(java.lang.String focus) |
void |
setFocusIndex(java.lang.String focusIndex) |
void |
setOnreset(java.lang.String onreset) |
void |
setOnsubmit(java.lang.String onsubmit) |
protected void |
setProperties(javax.faces.component.UIComponent component)
Override attributes set on this tag instance.
|
void |
setTarget(java.lang.String target) |
setBooleanAttribute, setBundle, setIntegerAttribute, setStringAttribute, setStyle, setStyleClass, setValue
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, setBinding, setRendered
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
protected java.lang.String action
The path
of the Struts Action
to which
this form should be submitted. This property is analogous to the
formName
property on the form tag in the standard
HTML RenderKit.
protected java.lang.String enctype
The content encoding type to use.
protected java.lang.String focus
The name of the field to which focus should be set when this form is displayed.
protected java.lang.String focusIndex
The subscript of the focus field array to receive focus.
protected java.lang.String onreset
The JavaScript reset event handler.
protected java.lang.String onsubmit
The JavaScript submit event handler.
protected java.lang.String target
The window target for this submit.
public void setAction(java.lang.String action)
public void setEnctype(java.lang.String enctype)
public void setFocus(java.lang.String focus)
public void setFocusIndex(java.lang.String focusIndex)
public void setOnreset(java.lang.String onreset)
public void setOnsubmit(java.lang.String onsubmit)
public void setTarget(java.lang.String target)
public void release()
Release any allocated resources.
release
in interface javax.servlet.jsp.tagext.Tag
release
in class AbstractFacesTag
public java.lang.String getComponentType()
Return the type of component to be created for this tag.
getComponentType
in class AbstractFacesTag
public java.lang.String getRendererType()
Return the rendererType
to be used for rendering
our component.
getRendererType
in class AbstractFacesTag
protected void setProperties(javax.faces.component.UIComponent component)
Override attributes set on this tag instance.
setProperties
in class AbstractFacesTag
component
- Component whose attributes should be overriddenCopyright © 2000–2022 Apache Software Foundation. All rights reserved.