This plugin integrates Raty.js with the goal to provide a comfortable utilization of ajax calls and accessing the raty features without typing any javaScript code.
Example
<div id="demo"></div>
<ry:stars divId="demo" name="myScore" number="5" score="2" />
###required
divId- the referenced div for displaying the stars
###optional
name- the name for the hiddenfield to be submitted, default is 'score'score- the number of preselected starsnumber- the number of stars, default is 5half- allows selecting half stars, default is falsereadOnly- default is falseremoteAction- the grails controller actionremoteController- deviating controller nameremoteParams- List of additional params
For using custom images configure an own folder in Config.groovy
grailsApplication.config.raty.images = "images/customImgs"