title: Calling bean methods with arguments from JSF pages
body: <p>Is it possible to call bean methods &amp; directly pass parameters to them from the view instead of requiring to first set the bean properties and then call methods without arguments using the commandButton or similar ?</p>
  
  <p>I have a list of items with each item having a list of actions. To reduce the state, I am using a single primefaces <code>remoteCommand</code>, in place of several <code>commandButton</code>(s). On getting a action trigger from the view, I would call the <code>remoteCommand</code> from javascript but since the <code>remoteCommand</code> is one but used for multiple items thus I need to pass the id of the item as well. I am wondering if there is a way to pass the id of the item to the bean method directly as an argument instead of first setting it as a bean property ? Is there any way to do so ?</p>
  
  <p><em>Actually I am looking at a better way to deal with multiple commandButtons on a page when there's a long list of items on the page.</em></p>
  
  <p>Suggestions ? Thanks.</p>
  
  <hr>
  
  <p>Using JSF 2.1.6 Mojarra with Primefaces 3.0RC1</p>