Re: Disabling filling form with old values on validation failure

2013-06-15 Thread Ivan Khalopik
You can reset field recorded value by calling recordInput method with null parameter value: tracker.recordInput(myField, null); The same way to reset recorded error for field: tracker.recordError(myField, null); On Fri, Jun 14, 2013 at 2:11 AM, Ryan How wrote: > It's really simple to make

Re: Disabling filling form with old values on validation failure

2013-06-13 Thread Ryan How
It's really simple to make a validation tracker!. I'd just make your own one to do what you want. Will take you less than 5 minutes I'm sure! But yes the tapestry auto tracking thing is a pain in the bum sometimes, I've always struggled with it being too smart and not being able to turn it off

Re: Disabling filling form with old values on validation failure

2013-06-13 Thread Muhammad Gelbana
I haven't tried this but in your validation method, have you tried clearing the variable bound to your field ? On Thu, Jun 13, 2013 at 6:24 PM, Ryon Day wrote: > I have a situation where the old form values are absolutely NOT helpful in > any way after a validation failure; I cannot find a way

Disabling filling form with old values on validation failure

2013-06-13 Thread Ryon Day
I have a situation where the old form values are absolutely NOT helpful in any way after a validation failure; I cannot find a way to prevent tapestry from autofilling the old form values. Is this a possibility or am I going to have to subclass the validation tracker implementation to provide v