I think the "patch" may have been the change I suggested in this
thread dealing with file uploads using forms within a jDiv.

http://groups.google.com/group/web2py/browse_frm/thread/34533d763a5e856f/c6cb190b051a03bc?lnk=gst&q=jdiv+file+upload#c6cb190b051a03bc

Basically the change was to utilize jQuery's ajaxform submission. Note
that although this works, you are restricted to one file upload per
submit.


Ted


On May 22, 2:45 pm, mdipierro <[email protected]> wrote:
> be aware that the code injpolite-web2py will change a lot in the near
> future. I am not sure if it currently handle file uploads for example.
> I remember somebody sending me a patch in that direction some time ago
> but I cannot find it anymore.
>
> Massimo
>
> On May 22, 4:41 pm, mdipierro <[email protected]> wrote:
>
>
>
> > For now what you have to do it
>
> > form=crud.create(db.table)
> > form['_class']='ajaxform1'
>
> > I am thinking on whether this should be the default behavior and who's
> > responsibility is to set this behavior (the form? the frame? the app?)
>
> > On May 22, 4:21 pm, Wes James <[email protected]> wrote:
>
> > > Massimo,
>
> > > is it the form submit and submitting data and getting a form back with
> > > validation what you were indicating in the comments on the ajax panel?
>
> > > Because I can't use a crud form submit and get it to submit data, it just
> > > refreshes the screen it seems.
>
> > > I can get a form with form=crud.create(db.table), but submit no go....
>
> > > thx,
>
> > > -wes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to