title: Passing parameters to PrimeFaces Star Rating component?
body: <p>I'm trying to make use of the <a href="http://www.primefaces.org/showcase/ui/rating.jsf" rel="nofollow">Star Rating</a> component from PrimeFaces.  However, it does not allow you to pass in parameters.  That makes it impossible for me to do a lookup to get the entity from the database that I'd like to rate.  I've tried something like this, but with no success:</p>
  
  <pre><code>&lt;p:rating value="#{myAction.rating}"&gt;
     &lt;f:param name="myObjID" value="#{myObj.id}" /&gt;
  &lt;/p:rating&gt;
  </code></pre>
  
  <p>Is there another way that I can pass the parameter into my action class?  Is there something I'm missing that would allow me to get the behavior I want?  Thanks for your help!</p>