Hi LLTYK, you need a corresponding passivate Method in your page class for the "t:ac" to be appended to created links. Or use the annotation @PageActivationContext on your fields. Maybe that causes your problem.
Regards nillehammer ----- original Nachricht -------- Betreff: T5.2 - Activation context for ajax requests Gesendet: Fr, 14. Jan 2011 Von: LLTYK<ll...@mailinator.com> > > So I am using Inge's ZoneUpdater. Previously in 5.1, the createEventLink in > it results in a "?t:ac=1/2" being tacked onto the end of the event link. > Afterwards, when the event is triggered, the page's > onActivate(Integer,Integer) is called. This initializes some instance > variables that are then used by the event handler (which is buried in some > component). > > Now in 5.2, this "t:ac" query parameter isn't being put on. Tapestry then > thinks that there is no page activation context (it goes for onActivate() > with no params), and then the event handler proceeds to throw an NPE since > the variable is not initialized. > > How am I supposed to include the page context in ajax requests now? > -- > View this message in context: > http://tapestry-users.832.n2.nabble.com/T5-2-Activation-context-for-ajax-req > uests-tp5921567p5921567.html > Sent from the Tapestry Users 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 > > --- original Nachricht Ende ---- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org