uploads via ajax are not supported. that's true even for a SQLFORM loaded 
via ajax.

it's not a limitation on web2py per se, more of an ajax limit if you don't 
want to use the new html5 features. 

On Friday, January 18, 2013 7:58:49 PM UTC+1, Tito Garrido wrote:
>
> Hi Folks,
>
> I guess I have found a bug...
> db.define_table('test',
>     Field('pic', 'upload' uploadseparate=True, autodelete=True))
>
> create a function for your component:
> def test_function():
> form=SQLFORM.grid(db.test)
>     return dict(form=form)
>
> load your grid via component:
> {{=LOAD(f="test_function.load", ajax=True, ajax_trap=True)}}
>
> if you try to upload something it just ignores and does not work... 
>
> -- 
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______ 
>

-- 



Reply via email to