Its work http://www.web2pyslices.com/main/slices/take_slice/103
2010/11/8 Luther Goh Lu Feng <[email protected]>: > Just found this > http://groups.google.com/group/web2py/browse_thread/thread/9c57e74da996303e/61df7879ee1236f7?lnk=gst&q=upload+return#61df7879ee1236f7 > > On Nov 8, 5:43 am, Luther Goh Lu Feng <[email protected]> wrote: >> I have an upload form that is rendered in a web2py component view. >> Unfortunately this does not work likely because of the limitations of >> javascript as suggested >> here:http://groups.google.com/group/web2py/msg/e7f6ce0a87aaf92b >> I believe this is still valid but am more than happy to be proven >> wrong. >> >> I have since moved the upload form to a non component related view and >> this works once again. However, on submit, the entire page refreshes. >> To improve elegance, I am wondering if anyone has any generic advice >> on preventing the page from refreshing during form submission? Thanks >> in advance.

