h
Tag form


<p>Renders an HTML "form" element.</p><p>Decode Behavior</p><ul><p>Obtain the <code>Map</code> from the "requestParameterMap" property of the <code>ExternalContext</code>. If the map contains an entry for the "clientId" of this <code>UIForm</code> component, call <code>setSubmitted(true)</code> on the form, otherwise call<code>setSubmitted(false)</code> on the form.</p></ul><p>Encode Behavior</p><ul><p>The value of the "method" attribute must be "post". The value of the "action" attribute must be the result of passing the view identifier of the current view to the <code>getActionURL()</code> method of the <code>ViewHandler</code> for this application, then passing that String to the <code>encodeActionURL()</code> method on the <code>ExternalContext</code>. If the "styleClass" attribute is specified, render its value as the value of the "class" attribute. Render all the necessary hidden fields for all commandLink instances in the page just before the close of the "form" element.</p></ul>


Tag Information
Tag Classcom.sun.faces.taglib.html_basic.FormTag
TagExtraInfo Classcom.sun.faces.taglib.FacesTagExtraInfo
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsefalsejava.lang.String The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
renderedfalsefalsejava.lang.String Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
acceptfalsefalsejava.lang.String List of content types that a server processing this form will handle correctly
acceptcharsetfalsefalsejava.lang.String List of character encodings for input data that are accepted by the server processing this form.
dirfalsefalsejava.lang.String Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
enctypefalsefalsejava.lang.String Content type used to submit the form to the server. If not specified, the default value is "application/x-www-form-urlencoded".
langfalsefalsejava.lang.String Code describing the language used in the generated markup for this component.
onclickfalsefalsejava.lang.String Javascript code executed when a pointer button is clicked over this element.
ondblclickfalsefalsejava.lang.String Javascript code executed when a pointer button is double clicked over this element.
onkeydownfalsefalsejava.lang.String Javascript code executed when a key is pressed down over this element.
onkeypressfalsefalsejava.lang.String Javascript code executed when a key is pressed and released over this element.
onkeyupfalsefalsejava.lang.String Javascript code executed when a key is released over this element.
onmousedownfalsefalsejava.lang.String Javascript code executed when a pointer button is pressed down over this element.
onmousemovefalsefalsejava.lang.String Javascript code executed when a pointer button is moved within this element.
onmouseoutfalsefalsejava.lang.String Javascript code executed when a pointer button is moved away from this element.
onmouseoverfalsefalsejava.lang.String Javascript code executed when a pointer button is moved onto this element.
onmouseupfalsefalsejava.lang.String Javascript code executed when a pointer button is released over this element.
onresetfalsefalsejava.lang.String Javascript code executed when this form is reset.
onsubmitfalsefalsejava.lang.String Javascript code executed when this form is submitted.
stylefalsefalsejava.lang.String CSS style(s) to be applied when this component is rendered.
styleClassfalsefalsejava.lang.String Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
targetfalsefalsejava.lang.String Name of a frame where the response retrieved after this form submit is to be displayed.
titlefalsefalsejava.lang.String Advisory title information about markup elements generated for this component.
bindingfalsefalsejava.lang.String The value binding expression linking this component to a property in a backing bean

Variables
No Variables Defined.


Output Generated by TLDDoc, a Sun Microsystems, Inc. CoolStuff project. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.