Hi, you could add log statements to your code that print out the request url. That way you'll probably find out where the second request comes from. I suspect a broken img-src attribute to be the cause. Some typo like this: <img src="{asset:something}" />
Cheers Christian Am 08.11.2011 um 23:27 schrieb pradeepchy: > Hi All, > I am facing a strange problem in my application. I have observed that page > setup methods with annotation either @SetupRender or @BeginRender are called > twice whenever a request is made to that page. In these methods I am calling > the database methods to pull data from db. > > @SetupRender > void setupdata(){ > //DB Call. > } > > Is there any work around to protect the extra call, please suggest. > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Setup-methods-are-called-twice-while-requesting-a-page-tp4975888p4975888.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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org