title: ui:repeat inside a javascript
body: <p>is there any way to perform a ui:repeat inside a javascript? this is what i'm trying to do.</p>
  
  <pre><code>var point;
  &lt;ui:repeat value="#{testController.allItems}" var="item"&gt;
    point = new google.maps.LatLng(item.latitude,item.longitude);
    createMarker(point, item.name, item.desc);   
  &lt;/ui:repeat&gt;
  </code></pre>
  
  <p><code>testController.allItems</code> returns a list of entities with latitude and longitude and other values, i'm trying to do a store locator using google maps. <code>createMarker</code> adds marker to the map.</p>
  
  <p>or is there a better way to do this?</p>