I\'m trying to make use of the Star Rating component from PrimeFaces. However, it does not allow you to pass in parameters. That makes it impossible for me to do a lookup
f:viewParam lets you pass request parameters to bean properties
id gets set in the MyObj Bean on page load
Since your bean has the id, when the rateListener method is called the id can be used to save the rating to the database