Hello! I heard that from tapepstry 5.2,all page is singleton-object.But,I write some code in the constructor of page class like this:
//the constructor public TestPage() { System.out.println("=============+++++++++++++++++++++++ constructor run "); } The code will run more than once. So,my question is: Is the page singleton? If I want to do something just once in a page,what should I do(use synchronized?)? and, if I want a singleton component( such as common parts of all pages),what should I do? I am using tapestry 5.3.3. Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Confusion-about-tapestry-singleton-page-tp5713619.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org