Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Documentation
-
Labels:None
Description
The documentation at http://grails.org/doc/latest/ of textArea and textFiled doesn't say anythig about the attributes:
Quote:
- name (required) - The name of the text area
- value (optional) - The value of the text area
Here's how "The Definitive Guide to Grails" explain it: "The <g:textField> tag takes a name attribute, representing the name of the parameter to send as part of the form submission, along with the associated value attribute."
The role of "name" and "value" of an element within a form is basic HTML knowledge, it does not necessarily have to be explained in the Grails documentation.