I understand by doing the way Jeremy Thomerson suggests (onSubmit or onClick), Wicket will not create a new page instance upon request. But, I am experiencing this "not so much expected scenario" that for the same person, in the same browser session, click the browser's Refresh Button, or F5, a new page instance is created. Is the latter behavior expected?
Thanks On Fri, Jul 9, 2010 at 8:28 AM, avrahamr <avrah...@gmail.com> wrote: > > But a different page instance for each person or browser section is expected > by any Java developer. > > What is not so much expected is that for the same person, in the same > browser session, you can't rely on natural object identity, like Martin > said, thanks to serialization... But you can rely on object values, so if > you correctly implement hash and equals it should be fine. > > On Wed, Jul 7, 2010 at 10:48 PM, Martin Makundi [via Apache Wicket] < > ml-node+2281423-751388596-293...@n4.nabble.com<ml-node%2b2281423-751388596-293...@n4.nabble.com> >> wrote: > >> Also yes ;) >> >> 2010/7/7 James Carman <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=2281423&i=0>>: >> >> >> > 2010/7/7 Martin Makundi <[hidden >> > email]<http://user/SendEmail.jtp?type=node&node=2281423&i=1>>: >> >> >> But remember... not being reconstructed does not mean that you won't >> >> have MULTIPLE INSTANCES of the same page..... >> >> >> >> ... thanks to serialization ;)) so be warned if you code something >> >> that depends on instances. >> > >> > It's not just serialization. A new page instance will be constructed >> > for each person that hits it. >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [hidden >> > email]<http://user/SendEmail.jtp?type=node&node=2281423&i=2> >> > For additional commands, e-mail: [hidden >> > email]<http://user/SendEmail.jtp?type=node&node=2281423&i=3> >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden >> email]<http://user/SendEmail.jtp?type=node&node=2281423&i=4> >> For additional commands, e-mail: [hidden >> email]<http://user/SendEmail.jtp?type=node&node=2281423&i=5> >> >> >> >> ------------------------------ >> View message @ >> http://apache-wicket.1842946.n4.nabble.com/Question-Does-Wicket-really-initialize-a-page-instance-once-tp2281200p2281423.html >> To start a new topic under Wicket - User, email >> ml-node+1842947-1647783149-293...@n4.nabble.com<ml-node%2b1842947-1647783149-293...@n4.nabble.com> >> To unsubscribe from Wicket - User, click >> here<http://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=YXZyYWhhbXJAZ21haWwuY29tfDE4NDI5NDd8LTEwNzY0NzQ1ODc=>. >> >> >> > > > -- > []'s > Avraham Rosenzweig > avrah...@gmail.com > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Question-Does-Wicket-really-initialize-a-page-instance-once-tp2281200p2283205.html > Sent from the Wicket - User mailing list archive at Nabble.com. > -- Simon 西门烧雪 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org