-
1. Re: custom component development
svkap Jan 9, 2012 4:52 PM (in response to svkap)Hello again.
I am almost there. I have only 1 problem left. On ajax events the component is not rendered properly. You can see the pics. I have attached the latest code as well. Probably it is a common problem with JQuery plugins.. I'd appreciate any hints.
-
testrating.jar 2.3 MB
-
-
2. Re: custom component development
svkap Jan 10, 2012 6:15 PM (in response to svkap)and again...
The component is ready.
The problem with the ajax render was resolved by adding script for binding the JQuery plugin (see last lines of UIRatingRenderer.encodeMarkup for details).
You can download the sources and the component from: http://jsf.playerfinder.net/components.html . I hope these comments and of course the component itself will be useful.
PrimeFaces have the same component but I had to rewrite it because for some strange reason PrimeFaces were loading my ViewScoped beans twice (RF loads the bean and then PrimeFaces decide to load it again for their component). I have tested mine along with RF and it looks good.
-
3. Re: custom component development
blabno Jan 11, 2012 3:36 AM (in response to svkap)Thanks for contributing this component.
I wonder if it should substitute h:selectOneRadio (so have it's own value and f:selectItems) or should it be an addition. What do you think people?
-
-
5. Re: custom component development
svkap Jan 14, 2012 6:19 PM (in response to blabno)Bernard, thank you for the effort. I'd be happy to receive some feedback. I've added some new components and cleaned the code. I have also created examples and component demos here: http://jsf.playerfinder.net/ . I started a new thread for the components here: http://community.jboss.org/thread/177423