[ https://issues.apache.org/jira/browse/WICKET-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alastair Maw resolved WICKET-163. --------------------------------- Resolution: Won't Fix > rating variable in RatingPanel should be of type IModel<Float> or > IModel<Double> instead of IModel<Integer> > ----------------------------------------------------------------------------------------------------------- > > Key: WICKET-163 > URL: https://issues.apache.org/jira/browse/WICKET-163 > Project: Wicket > Issue Type: Bug > Components: wicket-extensions > Affects Versions: 2.0 branch (discontinued) > Reporter: Koen Molkenboer > Priority: Trivial > > In the code of the RatingPanel (259) there is a comment line with the > following text: > // add the text label for the message 'Rating 4.5 out of 25 votes' > with the following code > ratingLabel = newRatingLabel(rater, "rating", rating, nrOfVotes); > where the 'rating' variable should have the value '4.5' (see comment), but > the type of this object is IModel<Integer>. > I think this should be changed into IModel<Float> or IModel<Double>. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.