I used an example for a rating component from this website:
http://jsf.playerfinder.net/pages/rating.jsf
Created both the .xhtml file and the RatingTestBean.java file.
First it gave me this error when visiting the xhtml file in a web browser: <f:ajax> 'change' is not a supported event for HtmlPanelGroup. Please specify one of these supported event names: click, dblclick, keydown, keypress, keyup, mousedown, mousemove, mouseout, mouseover, mouseup.
I made it run by commenting out the part containing the f:ajax part but I would like to fix that error as well.
When visiting the page with f ajax commented out the stars arent being displayed and when clicking on submit after filling out the steps and total stars it gives me the following errors:
j_idt1:totalStarsInputId: Validation Error: Value is not of correct type
j_idt1:stepInputId: Validation Error:Value is not of correct type
I guess this error is caused by the error in the RatingTestBean.Java on line 77 that says: UIRating cannot be resolved to a type
I hope somebody can help me asap to fix these errors so that I can get it to run like on the above mentioned website.