Hi, Like this is one page:
public UserHome(final PageParameters pageParameters, UserDomain userDomain) { super(pageParameters, userDomain); if (userDomain == null) userDomain = getUserById(this.userId); add(new SearchPanel("searchPanel")); // user name to appear in required pages * Label nameLabel = new Label("name", userDomain.getName()); add(nameLabel); * *system.out.println("This should be printed every time");* } Now, when the page loads the first time, *This should be printed every time* is printed. That means, contructor is called. But when the page is refreshed, nothing is printed. To give you more details, suppose this is the url of the page: /http://localhost:8080/Page?32/ When, I just refresh the whole url, nothings happens but when I remove parameters of the url....(/http://localhost:8080/Page/, rendering happens again. Why is this happening? scott.swank wrote > > How do you construct your panels? This sounds like a model issue... > > Scott > > On Fri, Jun 29, 2012 at 9:02 AM, kshitiz <k.agarwal4@> wrote: >> Hi, >> >> In my wicket application, each page carries many panels. *Now every panel >> is >> rendered when the page is loaded but when it is refreshed, nothing >> happens. >> * No panel is getting rendered again, not even sysouts are printing >> anything. *Now this is a good thing for performance but I want them to be >> re-rendered.Is there any way to make it happen...??* >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/Components-do-not-re-render-when-page-is-refreshed-tp4650290.html >> Sent from the Users forum mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@.apache >> For additional commands, e-mail: users-help@.apache >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@.apache > For additional commands, e-mail: users-help@.apache > -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Components-do-not-re-render-when-page-is-refreshed-tp4650290p4650292.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