Class FormSubmitWidget
Defined in widgetsBasic.js
FormSubmitWidget encapsulates submitting a form. If you really go to town with dynamic Javascript interfaces, it is nice not to have to worry about creating literal form elements for your submission.
This simple widget creates a form with nothing in it, so there is no user-visible node on the screen. When .submit(argObj), the form will be submitted as normal in HTTP forms.
Inheritances:
The <form> element of the FormSubmitWidget inherits all attributes ("*"), so set the form up with .setAttribute() as you would in HTML.
Constructor Summary |
FormSubmitWidget
()
Widget for submitting values to an HTTP form, automatically creating
fields as needed.
|
Method Summary |
void
|
submit(argObj)
Do the form submission.
|
content
Object content
FormSubmitWidget
FormSubmitWidget()
Widget for submitting values to an HTTP form, automatically creating
fields as needed.
submit
void submit(argObj)
Parameters:
argObj
- A Javascript object containing the key: value pairs you wish to submit to the action via the Widget's method. If the value is a list of strings, multiple values will be submitted with that same key. (This shows up in a querystring as a=1&a=2.)
Documentation generated by
JSDoc on Tue May 3 17:16:26 2005