title: in velocity can you iterate through a java hashmap's entry set()?
body: <p>Can you do something like this in a velocity template?</p>
  
  <pre><code>#set ($map = $myobject.getMap() )
  #foreach ($mapEntry in $map.entrySet())
      &lt;name&gt;$mapEntry.key()&lt;/name&gt;
      &lt;value&gt;$mapEntry.value()&lt;/value&gt;
  #end
  </code></pre>
  
  <p>it outputs blank tags like so:</p>
  
  <pre><code>&lt;name&gt;&lt;/name&gt; 
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;value&gt;&lt;/value&gt; 
  </code></pre>
  
  <p>What am I doing wrong?</p>