Why use <g:textField /> in Grails?
Posted
by knorv
on Stack Overflow
See other posts from Stack Overflow
or by knorv
Published on 2009-06-28T19:32:29Z
Indexed on
2010/05/04
7:18 UTC
Read the original article
Hit count: 174
What is the reason to use g:textField in Grails if you're already familiar with standard HTML form tags?
If I understand correctly the following two markup alternatives are equivalent:
<input type="text" name="name" value="${params.name}" id="name" />
<g:textField name="name" value="${params.name}" />
Are there any circumstances under which using g:textField would add value? Am I missing something?
© Stack Overflow or respective owner