title: How to list childrens recursively in a GSP page?
body: <p>i have a Media Domain </p>
  
  <pre><code>def Media {
     String name
  
     static belongsTo = [parent:Media]
     static hasMany = [children:Media]
  }
  </code></pre>
  
  <p>In the show.gsp page i want to list all my root Media (that haven't parent) into an ul list an their children and their children recursively in another ul lists. I have used the  Tag for the first list but i don't know how to do this recursively for the children.</p>
  
  <p>So have you an idea of how to do this ?</p>
  
  <p>Thanks.</p>