Forums Register Login

JSF playerfinder rating component

+Pie Number of slices to send: Send
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.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 670 times.
Similar Threads
DOM level 2 event listener question(question in detail)
Starting with JSF 2.0 - Image rollovers
Beginner question on mouse events
jquery, hover and unbind
Mouse support in J2ME?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:22:07.