Solved it....actually I have to use property model and in that I have to use a domain model carrying a property for showing number of comments...
*Label numberOfCommentLabel = new Label("numberOfCommentLabel", new PropertyModel(postDomain, "numberOfComments"));* Thank you very much everyone for helping me....:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-panel-not-getting-refreshed-completely-tp4650150p4650166.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org