I have forgot to do this reset  link, I have just done this :

                    protected void onRated(int rating, AjaxRequestTarget target)
                    {
                                if (this.rating == rating)
                                        this.rating = this.rating-1;
                                else
                                        this.rating = rating;
                            model.setObject(this.rating);
                    }
-- 
View this message in context: 
http://www.nabble.com/RatingPanel-and-ResetLink-tp17061505p17064195.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to