Re: Question - Does Wicket really initialize a page instance once?

2010-07-12 Thread Ian Marshall
I have solved my problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Question-Does-Wicket-really-initialize-a-page-instance-once-tp2281200p2286113.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread Ian Marshall
icket.1842946.n4.nabble.com/Question-Does-Wicket-really-initialize-a-page-instance-once-tp2281200p2283235.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicke

Re: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread 西门烧雪 Simon
I have found only this link http://www.systemmobile.com/?p=249 and I will try find my Wicket in Action book for the terms you mentioned. Any good links for explaining the versioned-setting and statefulness concepts? Thanks On Fri, Jul 9, 2010 at 8:51 AM, Wilhelmsen Tor Iver wrote: >> But, I am

Re: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread James Carman
For session-level stuff, store the values in the session, not a component/page instance. On Jul 9, 2010 8:36 AM, "Martin Makundi" wrote: But changes will not propagate. You might think that you are transferring money from account A to account B but are transferring money from account A' to accou

SV: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread Wilhelmsen Tor Iver
> 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? For bookmarkable page URLs: Yes. Look into how versioned-setting a

Re: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread 西门烧雪 Simon
t; email]<http://user/SendEmail.jtp?type=node&node=2281423&i=3> >> > >> > >> >> ----------------- >> To unsubscribe, e-mail: [hidden >> email]<http://user/SendEmail.jtp?type=node&node=

Re: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread Martin Makundi
s, e-mail: [hidden email]< > http://user/SendEmail.jtp?type=node&node=2281423&i=3> >> > >> > >> >> - >> To unsubscribe, e-mail: [hidden email]< > http://user/SendEm

Re: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread James Carman
81423&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-initia

Re: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread avrahamr
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 > To unsubscribe from Wicket - User, click > here<http://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=YXZyYWhhbXJ

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread Martin Makundi
Also yes ;) 2010/7/7 James Carman : > 2010/7/7 Martin Makundi : >> 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 n

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread James Carman
2010/7/7 Martin Makundi : > 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 wil

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread Martin Makundi
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. ** Martin 2010/7/7 Jeremy Thomerson : > 2010/7/7 西门烧雪 Simon > >> I have read that "in

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread Jeremy Thomerson
2010/7/7 西门烧雪 Simon > I have read that "in Wicket a page is only constructed once", from > https://cwiki.apache.org/WICKET/reading-from-a-database.html > > So I did an experiment with the following class. When I press F5 > twice in my browser to refresh, and I get the print out (see below) > thr

Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread 西门烧雪 Simon
I have read that "in Wicket a page is only constructed once", from https://cwiki.apache.org/WICKET/reading-from-a-database.html So I did an experiment with the following class. When I press F5 twice in my browser to refresh, and I get the print out (see below) three times. So, is the statement "