title: Accessing a list of params in controller
body: <p>Im very new to grails (1.3.7) so please be patient :-)</p>
  
  <p>I have a gsp where I have various checkboxes. A user can click on them and then send his answer to a controller. The controller is receiving this request correctly.</p>
  
  <p>My problem is, that, for working with what the user chose, I have to check every parameter - to see if this checkbox was really checked. Thats really cumbersome and doesnt work very well, because the page displaying the checkboxes is dynamic - so the checkboxes which can be clicked are dynamic too. In my controller I dont know for which params I have to check then.</p>
  
  <p>Is there any possibility to receive a list of all checkboxes (or better: all checked checkboxes) in my controller? I researched but didnt find an answer!</p>
  
  <p>Thanks for answering! :-) </p>
  
  <p>[EDIT]</p>
  
  <p>Thank you,</p>
  
  <pre><code>params.name.each{i-&gt;
              System.out.println(i);
  }
  </code></pre>
  
  <p>is very simple and works :-) It just gives back the checked ones</p>