context | Object | Since 5.2.0 | | prop |
The list of values that will be made available to event handler method of this component when the form is
submitted. |
defer | boolean | | | prop |
If true (the default), then any notification sent by the component will be deferred until the end of the form
submission (this is usually desirable). In general, this can be left as the default except when the LinkSubmit
component is rendering inside a org.apache.tapestry5.corelib.components.Loop, in which case defer should be bound to false (otherwise, the
event context will always be the final value of the Loop). |
disabled | boolean | | | prop |
If true, then no link (or accompanying JavaScript) is written (though the body still is). |
event | String | Not Null | | literal |
The name of the event that will be triggered if this component is the cause of the form submission. The default
is "selected". |
mode | org.apache.tapestry5.corelib.SubmitMode | Not Null, Since 5.2.0 | | literal |
Defines the mode, or client-side behavior, for the submit. The default is org.apache.tapestry5.corelib.SubmitMode#NORMAL; clicking the
button submits the form with validation. org.apache.tapestry5.corelib.SubmitMode#CANCEL indicates the form should be submitted as a cancel,
with no client-side validation. org.apache.tapestry5.corelib.SubmitMode#UNCONDITIONAL bypasses client-side validation, but does not indicate
that the form was cancelled. |