LinkSubmit
Creates a hyperlink that submits its enclosing form using a JavaScript function.
Pages incorporating a LinkSubmit component must also include a Body component.
See also: org.apache.tapestry.form.LinkSubmit, Form, ImageSubmit, Submit
Parameters
| Name | Type | Direction | Required | Default | Default Binding | Description |
|---|---|---|---|---|---|---|
| disabled | boolean | in | no | false | Controls whether the link is produced. If disabled, the portion of the template the link surrounds is still rendered, but not the link itself. | |
| selected | Object | out | no | This parameter is bound to a property that is updated when the submit button is clicked by the user. The property is updated to match the tag parameter. | ||
| tag | Object | in | no | Tag used with the selected parameter to indicate which Submit button on a form was clicked. | ||
| listener | IActionListener | in | no | If specified, the listener is notified. This notification occurs as the component is rewinded, i.e., prior to the Form's listener. In addition, the selected property (if bound) will be updated before the listener is notified. | ||
| action | IActionListener | in | no | A listener that is notified if this component is triggered just before the form's listener, after all components enclosed by the Form have had a chance to update their properties. | ||
| parameters | Object | in | no |
Parameter(s) gathered at the time the link is triggered,
supplied as listener parameters in the IRequestCycle
available to the listener.
If the parameter is a Collection, it will be converted to an Object array (to match the IRequestCycle getListenerParameters() signature). Allows deferred listeners (defer = true) access to any rewind state not conveniently placed using tag/selected (e.g. when there are multiple objects to select as might happen with a nested Foreach). |
Body: allowed
Informal parameters: allowed
Reserved parameters: name, href

