Hi, I've been working with the Rating extension found here: http://www.wicket-library.com/wicket-examples/ajax/ratings?0
I have a case where I need to render multiple on a page, and they render fine. Each rating panel that displays corresponds to a specific record in a database. I would like to be able to get information from the request to indicate which record the rating is for. The RatingPanel as a method onRated that accepts the rating and runs an update, like this: @Override public void onRated(int rating, AjaxRequestTarget target) { HomePage.rating.addRating(rating); } I also noticed that the URL contains some additional information <a href="?0-4.ILinkListener-movies-0-rating-rater-element-0-link" wicket:id="link" id="linkbb" onclick="var wcall=wicketAjaxGet('?0-4.IBehaviorListener.0-movies-0-rating-rater-element-0-link',function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$('linkbb') != null;}.bind(this));return !wcall;"><img wicket:id="star" src="wicket/resource/org.apache.wicket.extensions.rating.RatingPanel/star1-ver-1326919989539.gif"/></a> The number between ...movies-_-rating... (where the underscore is) is different for each group. Is there some direct way to access information about the URL or to modify this extension to pass the record information along with it? Thanks, Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org