title: How to call a Controler Action through inner g:each from GSP?
body: <p>I have a Domain class called <strong>Student</strong>.It contain some variables like <strong>student_name,student_address,student_class</strong>.Actually I want to display student details in order by <strong>student_class</strong>.</p>
  
  <p>I have a GSP page called list.gsp.
  <strong>list.gsp :</strong></p>
  
  <pre><code>&lt;g:each in="${std}" status="v" var="stdInstance"&gt; //All Class eg:1..10.
  &lt;h3&gt;${stdInstance.std_class}&lt;/h3&gt;                   
   //Innerloop     
  //here i want to display students details depending on the value of stdInstance.std_class.
  &lt;/g:each&gt;  
  </code></pre>
  
  <p>I want to know how to call a controller action through inner g:each with passing params.</p>