title: Problem with Grails g:each tag
body: <p>I'm struggling to get a g:each tag to work. What I'm passing to the view is a list of hashmaps (something like this [ [ : ] , [ : ] ]  ).
  Each hashmap is of the form [location: somelocation , artist: someartist].
  The code is the following:</p>
  
  <p><strong>CONTROLLER</strong>
  in the controller I'm passing the following:</p>
  
  <pre><code>[searchedResults : results.searchedResults]
  </code></pre>
  
  <p><strong>VIEW</strong></p>
  
  <pre><code>&lt;g:each status="i" in="${searchedResults}" var="results"&gt;
     if(results.location!=null){
         var point${results.location.id} = new google.maps.LatLng(${results.location.lat}, ${results.location.lng});
         var myMarkerOptions${results.location.id} = {
                            position: point${results.location.id}, 
                            map: map
                           };
         var marker${results.location.id} = new google.maps.Marker(myMarkerOptions${results.location.id});   
     }    
  &lt;/g:each&gt;
  </code></pre>
  
  <p>Any ideas why this wouldn't work?
  Thanks!</p>