You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: grails-doc/src/en/ref/Tags - GSP/formActionSubmit.adoc
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,18 +61,18 @@ Creates a submit button that sets the `formaction` attribute, which allows one t
61
61
62
62
Attributes
63
63
64
-
* `value` (required) - The caption of the button and name of action when not explicitly defined.
65
-
* `id` (optional) - The element id of the input element
66
-
* `action` (optional) - The name of the action to use in the link; if not specified the default action will be linked
67
-
* `controller` (optional) - The name of the controller to use in the link; if not specified the current controller will be linked
68
-
* `namespace` (optional) - The namespace of the controller to use in the link
69
-
* `plugin` (optional) - The name of the plugin which provides the controller
70
-
* `id` (optional) - The id to use in the link
71
-
* `fragment` (optional) - The link fragment (often called anchor tag) to use
72
-
* `mapping` (optional) - The link:{guidePath}/theWebLayer.html#namedMappings to use to rewrite the link
73
-
* `method` (optional) - The HTTP method specified in the corresponding URL mapping
74
-
* `params` (optional) - A map containing URL query parameters for the link
75
-
* `url` (optional) - A Map containing the action, controller, id etc.
64
+
* `value` (required) - The label shown on the submit button.
65
+
* `id` (optional) - The DOM id of the rendered input element.
66
+
* `disabled` (optional) - Disables the rendered button when the value evaluates to true.
67
+
* `action` (optional) - The name of the action to use in the link; if not specified the default action will be linked.
68
+
* `controller` (optional) - The name of the controller to use in the link; if not specified the current controller will be linked.
69
+
* `namespace` (optional) - The namespace of the controller to use in the link.
70
+
* `plugin` (optional) - The name of the plugin which provides the controller.
71
+
* `fragment` (optional) - The link fragment (often called anchor tag) to use.
72
+
* `mapping` (optional) - The link:{guidePath}/theWebLayer.html#namedMappings to use to rewrite the link.
73
+
* `method` (optional) - The HTTP method specified in the corresponding URL mapping.
74
+
* `params` (optional) - A map containing URL query parameters for the link.
75
+
* `url` (optional) - A Map containing the action, controller, id, etc. for the generated link. If the target URL needs an `id`, provide it here because the top-level `id` attribute is used for the input element.
76
76
* `uri` (optional) - A string for a relative path in the running app.
77
77
* `relativeUri` (optional) - Used to specify a uri relative to the current path.
78
78
* `absolute` (optional) - If `true` will prefix the link target address with the value of the `grails.serverURL` property from the application configuration, or http://localhost:8080 if there is no setting in the config and not running in production.
0 commit comments