You might also want to look at http://swfupload.org/

On Jan 28, 2010, at 10:51 AM, James Harman wrote:

> Yeah - you can't do file submit via ajax.   The browsers don't support it.
> 
> James
> 
> 
> On Thu, Jan 28, 2010 at 2:17 AM, Marius <[email protected]> wrote:
> I don't think it's possible to do files upload via Ajax. There are
> workarounds but not directly with Ajax. If it would be possible Lift
> would have expose it already. Please look into widgets project on the
> upload widget. It does a fiel upload ajax-like including progress bar.
> 
> Br's,
> Marius
> 
> On Jan 28, 8:05 am, wm <[email protected]> wrote:
> > Hi,
> >
> > I want to upload files in AJAX, is there a way to set the
> > multipart="true"?
> >
> > I checked the html code generated by the ajaxForm:
> >
> > <form id="F347910659087FDI"
> >  action="javascript://"
> >  onsubmit="liftAjax.lift_ajaxHandler(jQuery
> > ('#'+&quot;F347910659087FDI&quot;).serialize(), null, null,
> > &quot;javascript&quot;);return false;">
> > <input type="file" name="F347910659080N24" />
> > ...
> >
> > There is no such option.
> >
> > Then I checked in:
> > framework/lift-base/lift-webkit/src/main/scala/net/liftweb/http/
> > SHtml.scala
> >
> > it seems none of the
> > def ajaxForm(...)
> > takes such parameter?
> >
> > Is what I'm looking for possible at all? thanks.
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Lift" 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/liftweb?hl=en.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Lift" 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/liftweb?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" 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/liftweb?hl=en.

Reply via email to