Hmm... somewhere between nabble and my inbox your sourcecode was stripped. This seems to be a pretty common problem with nabble.
I'm not sure that this is addressed in 5.3, or if there is a defect filed yet. But, seems like you could use a mixin? // In your page/component holding the form @Component(id = "form") @Mixins({"AjaxFormFix"}) private Form form; // In your mixins package @MixinAfter public class AjaxFormFix { @Inject private Request request; @InjectContainer private Form form; void afterRender() { if (request.isXHR()) { if (form.getDefaultTracker() != null) form.getDefaultTracker().clear(); form.setDefaultTracker(null); } } } Josh On Sat, Nov 26, 2011 at 10:56 PM, Kartweel <r...@exemail.com.au> wrote: > Hi, > > I have the following code which I've been using to work around forms > invalidly persisting data on ajax requests (ie. form is rendered in the ajax > response, but the validation tracker stores the values for the NEXT request, > it needs to be cleared straight away). Now that pageDetached is depreciated > what would be a better way to achieve this? Or does 5.3 now handle this > correctly? > > > > > > Thanks, Ryan > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-3-Need-a-replacement-for-pageDetached-or-a-better-way-to-achieving-this-tp5026033p5026033.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