Ok it works with the onPassivate in this case: void onActivate(int policyId) { if(policy == null) { policy = policyRepository.get(policyId); } } int onPassivate() { return policy.getId(); }
But now I have another page where I do some calculations based on input of form fields. When the results (numbers, graphs, ...) have been rendered, I have a Zone in the result where I want to recalculate a part of these results based on some of the first given form field values and some calculated values from the initial calculation. Now I don't see another way than to @Persist these values to use them, or is there a better/other way? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Best-practice-activation-context-and-later-ajax-calls-tp5717936p5717966.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