This tag represents an input form, associated with a bean whose
properties correspond to the various fields of the form.
org.apache.beehive.netui.pageflow.annotations.Jpf.Action @Jpf.Actionorg.apache.beehive.netui.pageflow.annotations.Jpf.Action.useFormBean useFormBean
Adds a URL parameter to the generated hyperlink.
Parameters: name - the name of the parameter to be added. Parameters: value - the value of the parameter to be added (a String or String[]). Parameters: facet -
This method will return the real id that will be written out by the form. This is
either the current state qualified tagId or the _realName if tagId is not specified.
the value of the id attribute written by the form.
This method will return the state associated with the tag. This is used by this
base class to access the individual state objects created by the tags.
a subclass of the AbstractHtmlState class.
Base support for the attribute tag. This is overridden to prevent setting the action,
and method attributes.
Parameters: name - The name of the attribute. This value may not be null or the empty string. Parameters: value - The value of the attribute. This may contain an expression. Parameters: facet - The name of a facet to which the attribute will be applied. This is optional. throws: JspException - A JspException may be thrown if there is an error setting the attribute.
Set the name of the field to receive focus.
Parameters: focus - the focus field name.
setGenJavaScriptFormSubmit
public void setGenJavaScriptFormSubmit(boolean formSubmit)(Code)
Generate the JavaScript which will submit a form. This is usually generated if the
form contains anchors that are used to submit the form. This will make sure the JavaScript is
always generated.
Parameters: formSubmit - boolean value indicating that the form submit JavaScript should be generated. Default is false.
Sets the window target.
Parameters: target - the window target.
setTargetScope
public void setTargetScope(String targetScope)(Code)
Set the target "scope" for the form's action. Multiple active page flows may exist concurrently within named
scopes. This attribute selects which named scope to use. If omitted, the default scope is assumed.
Parameters: targetScope - the name of the target scope in which the associated action's page flow resides.
Methods inherited from org.apache.beehive.netui.tags.html.HtmlBaseTag