[web2py] Re: CSV import in LOAD does not work

2014-11-06 Thread Richard D
Thank you, I'll implement it. For the time being I open a new tab in the browser, but the component solution is better because I need to update the page from which it is triggered. On Thursday, November 6, 2014 8:35:22 PM UTC+1, Leonel Câmara wrote: > > Yeah it only changes stuff for forms that

[web2py] Re: CSV import in LOAD does not work

2014-11-06 Thread Leonel Câmara
Yeah it only changes stuff for forms that have file inputs. -- 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 subs

[web2py] Re: CSV import in LOAD does not work

2014-11-06 Thread Richard D
Leonel, Thank you for the quick answer, I'll try to implement this. I assume this will not touch the other form handling in components. Richard D On Thursday, November 6, 2014 7:34:36 PM UTC+1, Richard D wrote: > > Dear all, > > I am making a csv import function but encounter a strange differ

[web2py] Re: CSV import in LOAD does not work

2014-11-06 Thread Leonel Câmara
Uploads don't work in ajax loaded forms without some trickery. Here's a possible solution You need jquery.form.js then you need to put something like this javascript right after web2py.js is loaded, this will change the default way web2py traps forms so it deals