title: JSF2 CommandButton Action request params
body: <pre><code>&lt;h:commandButton value="Add Order"  action="#{orderBasket.addItems(param['orderItemId'])}"/&gt;
  </code></pre>
  
  <p>I can't get the above to work...when you click on the button the param seems to get set to null. Is there a way around this? </p>
  
  <p>Is there another way of passing the URL params into the action method? I'm using Spring EL resolver which limits my ability to pass in the parameters into beans as I'm not using faces-config.</p>