tags:

views:

34

answers:

1

pagevalidate() method will be called each time the page is refresh and i did some action on the page. I looking for a method that will only be call first time the page is loaded and for subsequent time the page is refresh/do some actions, the method will not be called. any such method in tapestry 4?

A: 

You could try setting a flag in the session object and wrap the code that you only want called the first time in an if-block that is entered by checking that flag.

ntownsend