I have no form. You can see my whole hello world app in my reply to Robert.
Norbert Ulrich Stärk wrote: > > If you are using the property inside a form it can be accessed 3 times: > first time when the page > renders, second time when the form gets submitted and is rewinding and > third time when the result > page (if it's the same page) gets rendered. Is this your case? > > You might want to have a look at the page events > (http://tapestry.apache.org/tapestry4.1/usersguide/events.html) and setup > any values you fetch from > your database there. You can check with > event.getRequestCycle().isRewinding() if your page is rewinding. > > Uli > > MBBert schrieb: >> Hi! >> >> I set up a new environment with Hibernate, Spring and Tapestry. After the >> first tests I wondered why each DB access was done 3 times. >> For verification I set up a simple Hello World App and there is this >> strange >> behaviour also. When I set a break point in the getter method, I can see >> that it will be called three times each page access. >> >> Can anybody explain me what happens? >> >> I'm using version 4.1.5 with Apache 6.0.14 in NetBeans 6.0. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tapestry-calls-the-getter-3-times%21-tp18536136p18541862.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]