• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSF playerfinder rating component

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic