title: Grails: Invoking one taglib from within another
body: <p>I want to define my own taglib that will use the <code>g:datePicker</code> to generate some of it's output.</p>
  
  <pre><code>class MyTagLib
  
    def myTag = {attrs -&gt;
      // I need to invoke the `datePicker` tag of the the `FormTagLib` tag library
      // provided by Grails       
    }
  }
  </code></pre>
  
  <p>I want to pass along the attributes map when I invoke this tag. When I invoke <code>g:datePicker</code> I would like it to write it's output directly to the response (just as it does when you invoke it within a GSP).</p>
  
  <p>How can I do this?
  Thanks.</p>