Mahendra Athneria
Mahendra Athneria

Reputation: 1213

why onPassivate() method called multiple times in Tapestry5

when i click on some pageLink then it goes to the dedicated page provided in the pagelink. but on the dedicated page onPassivate() method called multiple times.

anybody knows why?

Regards,
Mahendra

Upvotes: 2

Views: 648

Answers (1)

joostschouten
joostschouten

Reputation: 3893

onPassivate is called every time a link to that page is created. So if your page holds a couple of event/page links to itself, onPassivate is called once for each link. This is outlined in the tapestry documentation.

Upvotes: 5

Related Questions