title: Passing param to method from mustache template
body: <p>I'm trying to pass a param to Java method from <a href="https://github.com/spullara/mustache.java" rel="nofollow">mustache</a> template, and I tried looking at <a href="http://mustache.github.io/mustache.5.html" rel="nofollow">Lambdas</a> but had no luck, in-fact when I set a breakpoint on the method it doesn't even get hit. </p>
  
  <p>Here is what I'm trying to achieve:</p>
  
  <p>java method</p>
  
  <pre><code>public List&lt;Object&gt; someMethod (String param) {
     //print it to console or do something with param ... 
  }
  </code></pre>
  
  <p>mustache.html </p>
  
  <pre><code>&lt;div id="someString" class="..."&gt;
      {{#someMethod "hello"}}
          ...
      {{/someMethod}}
   &lt;/div&gt;
  </code></pre>
  
  <p>This results in an empty div when template gets processed. Can someone guid me on how to achieve this please or is this even possible. </p>
  
  <p>Thanks.</p>