title: How do you update a TextField from a grails remoteLink?
body: <p>Existing markup:</p>
  
  <pre><code>&lt;g:textField name="identifier"/&gt;
  &lt;g:remoteLink action="newId" update="identifier"&gt;generate new id&lt;/g:remoteLink&gt;
  </code></pre>
  
  <p>Corresponding HTML markup:</p>
  
  <pre><code>&lt;input type="text" id="identifier" name="identifier"&gt;
  &lt;a onclick="new Ajax.Updater('guid','/webapp/domain/newId',{asynchronous:true,evalScripts:true});return false;" href="/webapp/domain/newId"&gt;generate&lt;/a&gt;
  </code></pre>
  
  <p>The HTML markup it generates when the link is clicked:</p>
  
  <pre><code>&lt;input type="text" id="identifier" name="identifier"&gt;THE-NEW-ID-HERE&lt;/input&gt;
  &lt;a onclick="new Ajax.Updater('guid','/webapp/domain/newId',{asynchronous:true,evalScripts:true});return false;" href="/webapp/domain/newId"&gt;generate&lt;/a&gt;
  </code></pre>