Hello Mike,

could you explain your patch to web2py-developers? it is quite extensive.

On Saturday, 26 March 2016 13:00:25 UTC-5, Mike Constabel wrote:
>
> Hello all and Anthony,
>
> Am Freitag, 20. November 2015 07:52:05 UTC+1 schrieb Bart:
>>
>> Hi Anthony,
>>
>> This solution you mention is, with some minor changes, still working in 
>> the current version. I've managed to get the change working in the 2.12.3 
>> version of web2py.js:
>> Change function trap_form to:
>>
>>
> I tried this with 2.14.2. The upload works, but the form is reloaded when 
> there is an error in the form. 
>
> Attached an my example, diff against the welcome app from 2.14.2.
>
> If I use the form default/test1 in my example without changes to web2py.js:
>
> On validation errors the error message is shown without reload the form. 
> The upload of course doesn't work.
>
> If I patch web2py.js, the upload work. But the form no more works as 
> expected on validation errors.
>
> Is there is a new solution for ajax uploads? Did I made an mistake? The 
> solutions I found are >5 years old.
>
> This one is the one which seems the most usable.
>
> Regards,
> Mike
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to