[web2py] Re: Upload file using the LOAD (....., ajax = True)

2016-03-28 Thread Massimo Di Pierro
OK. I guess I misunderstood. Let me study your solution and get back to you. On Sunday, 27 March 2016 11:07:21 UTC-5, Mike Constabel wrote: > > Hello Massimo, > > Am Sonntag, 27. März 2016 17:18:42 UTC+2 schrieb Massimo Di Pierro: >> >> Hello Mike, >> >> could you explain your patch to web2py-deve

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2016-03-27 Thread Mike Constabel
Hello Massimo, Am Sonntag, 27. März 2016 17:18:42 UTC+2 schrieb Massimo Di Pierro: > > Hello Mike, > > could you explain your patch to web2py-developers? it is quite extensive. > > I think you misunderstood me (or I didn't explain it well). This "patch" is only a summary of what I found in thi

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2016-03-27 Thread Massimo Di Pierro
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, wi

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2016-03-26 Thread Mike Constabel
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

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2015-11-19 Thread 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: trap_form: function(action, target) { /* traps any LOADed form */

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2012-10-30 Thread Anthony
Good point. Maybe submit an issueand reference this thread. Anthony On Tuesday, October 30, 2012 11:03:35 AM UTC-4, captainy wrote: > > Hey Anthony, > > i've tried this recipe and it works. In my opinion it's a common task in > modern web development

Re: [web2py] Re: Upload file using the LOAD (....., ajax = True)

2012-10-30 Thread Richard Vézina
You may put your own particular stuff in a file appart call app.js or app.css, etc. You then override css or create your particular js there... Richard On Tue, Oct 30, 2012 at 11:03 AM, captainy wrote: > Hey Anthony, > > i've tried this recipe and it works. In my opinion it's a common task in

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2012-10-30 Thread captainy
Hey Anthony, i've tried this recipe and it works. In my opinion it's a common task in modern web development to upload files in the "ajax-way". My problem is, as with as other recipes in the book, the modification of a core file of the web2py framework. What happens, if we do an update to a new

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2012-08-06 Thread Anthony
At the end of this sectionin the book it says: *Please note:* Because Ajax post does not support multipart forms, i.e. > file uploads, upload fields will not work with the LOAD component. You > could be fooled into thinking it would wor

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2012-08-06 Thread Massimo Di Pierro
Try trunk. With Chrome it may work but no promise. Let me know. On Monday, 6 August 2012 22:58:47 UTC-5, Massimo Di Pierro wrote: > > Unfortunately this cannot be done easily. ajax of multipart forms (forms > containing file upload) is not in html. > > According to one of the answers here it is i

[web2py] Re: Upload file using the LOAD (....., ajax = True)

2012-08-06 Thread Massimo Di Pierro
Unfortunately this cannot be done easily. ajax of multipart forms (forms containing file upload) is not in html. According to one of the answers here it is in HTML5 http://stackoverflow.com/questions/166221/how-can-i-upload-files-asynchronously-with-jquery and we could add support for it in web