Instead of using entities and strings in your constructors, use IModels such as LoadableDetachableModel. When re-rendering (AJAX or reload), your constructors aren't called again, but IModel#getObject() are called.
On Fri, Jun 29, 2012 at 12:09 PM, kshitiz <k.agarw...@gmail.com> wrote: > Hi, > > Thanks for the reply. Just to clarify, like if I am adding a panel: > > *add(new PostPanel("postPanel", pageParameters, userTypeDomain, > userDomain));* > > So, how do I make it render at every page refresh...? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Components-do-not-re-render-when-page-is-refreshed-tp4650290p4650294.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 > >