The equals()/hashCode() should already work as expected for components

On Jul 9, 2010 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>
<ml-node%2b2281423-751388596-293...@n4.nabble.com<ml-node%252b2281423-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 INSTA...
> > 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>
<ml-node%2b1842947-1647783149-293...@n4.nabble.com<ml-node%252b1842947-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.

Reply via email to