Re: file upload monitoring

"kRAkEn/gORe" <[email protected]>
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
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 ?

thanx in advance

lucio

On 5/31/07, Hannes Wallnoefer <[email protected]> wrote:
> Hi kRAkEn/gORe,
>
> I've gotten this request before, so i looked into it and found that
> the new 1.2 version of commons fileupload has now a hook for upload
> monitoring:
>
> http://jakarta.apache.org/commons/fileupload/apidocs/org/apache/commons/fileupload/FileUploadBase.html#setProgressListener(org.apache.commons.fileupload.ProgressListener)
>
> While looking around at jakarta.apache.org, I also found that there
> are new versions of commons io and commons logging around. Any ideas
> on whether we should update these, too? I'll probably do so for
> release candidate 3 if nobody objects.
>
> hannes
>
> 2007/5/31, kRAkEn/gORe <[email protected]>:
> > i was trying to achieve file upload notification with a progress bar
> > using prototype. there is the possibility in helma to have control of
> > the upload injecting a FileUploadListener that will report the number
> > of bytes uploaded (and so been able to display a progress meter) ?
> >
> > been using this in a servlet context, and working nicely:
> > http://www.missiondata.com/blog/java/28/file-upload-progress-with-ajax-and-java-and-prototype/
> >
> > have anyone done this in helma or have some ideas or excerpt to start with ?
> >
> > thanx
> > _______________________________________________
> > Helma-user mailing list
> > [email protected]
> > http://helma.org/mailman/listinfo/helma-user
> >
> _______________________________________________
> Helma-user mailing list
> [email protected]
> http://helma.org/mailman/listinfo/helma-user
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.