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
I solved it as follows:
In my backing bean, I'm able to get the value for contentId as follows:
contentId
Map params = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap(); int contentId = Integer.parseInt(params.get("contentId"));