[Helma-user] file upload monitoring

Hannes Wallnoefer hannes at helma.at
Wed Jun 6 11:49:12 CEST 2007


2007/6/5, Jonathan Puckey <me at jonathanpuckey.com>:
> It works fine here in Safari 2.0.4
> Nice addition!

I see it now working somewhat with my local Safari tester here (Mr.
Rinner), but the progress bar flickers and looses its border while
uploading. Anyway, I'm leaving the CSS subtleties for someone else to
fix.

hannes

> > I've added a hook for file upload monitoring to the helma servlet: If
> > there is a upload_id parameter in the query string, the upload status
> > is tracked in the user's session. You can get it via
> > session.getUploadStatus(uploadId). There's a demo page here:
> >
> > http://dev.helma.org/wiki/Upload+Demo/
> >
> > I think it doesn't work with Safari currently, maybe somebody can look
> > into this.
> >
> > However, the really big news is that uploads are no longer passed in
> > memory. helma.util.MimePart can now wrap a DiskFileItem from
> > commons-fileupload, and you can read its content from an InputStream
> > instead of a byte array. I'm in the process of documenting all this at
> >
> > http://dev.helma.org/wiki/HTTP+Parameter+and+File+Upload
> > +Enhancements+in+Helma+1.6/
> >
> > hannes
> >
> > 2007/5/31, kRAkEn/gORe <kunitoki at gmail.com>:
> >> already done
> >>
> >> On 5/31/07, Hannes Wallnoefer <hannes at helma.at> wrote:
> >>> 2007/5/31, kRAkEn/gORe <kunitoki at gmail.com>:
> >>>> cool,
> >>>> since i'm basically quite new to helma, where should i look for
> >>>> attaching this listener  to the common helma upload internal class,
> >>>> and maybe let it trigger a session.onFileUploadProgress() found
> >>>> in the
> >>>> application scripts ?
> >>>
> >>> It's rather hard to do this without modifying Helma, so I
> >>> implemented
> >>> it. It'll be in CVS later today.
> >>>
> >>> hannes
> >>> _______________________________________________
> >>> Helma-user mailing list
> >>> Helma-user at helma.org
> >>> http://helma.org/mailman/listinfo/helma-user
> >>>
> >> _______________________________________________
> >> Helma-user mailing list
> >> Helma-user at helma.org
> >> http://helma.org/mailman/listinfo/helma-user
> >>
> > _______________________________________________
> > Helma-user mailing list
> > Helma-user at helma.org
> > http://helma.org/mailman/listinfo/helma-user
>
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>


More information about the Helma-user mailing list