« Return to Thread: How to add trinidad progress Indicator with trinidad file upload component

Re: How to add trinidad progress Indicator with trinidad file upload component

by Scott O'Bryan :: Rate this Message:

Reply to Author | View in Thread

Umm.  I think you're both right.  I think Andrew was referring to
Trinidad's file upload and a Trinidad progress Indicator.  You can't do
this with the functionality as written.  Certainly it's possible to do
it from a browser/AJAX perspective, but not currently from a Trinidad
perspective.

That said, if someone wants to add the capability, have at it..

:)

Scott


Stephen Friedrich wrote:

> Huh? That's plain wrong.
> There are many examples out there that use ajax to show a progress bar.
> The servlet receives bytes as a stream.
> It's tricky, but it can be done and has been done.
>
> See for example
> http://www.codeguru.com/java/article.php/c13913/
>
> Andrew Robinson wrote:
>> HTTP POST operations are not streaming. The server obtains the full
>> request after the POST is complete. There is no way with HTTP to
>> determine any kind of progress for an upload. You will just have to
>> show a please wait animation or something.
>>
>> On Fri, May 9, 2008 at 9:05 AM, AjayMundra <ajay.mundra@...>
>> wrote:
>>> How to add trinidad progress Indicator with trinidad file upload
>>> component
>>>
>>> i'm trying to add a progressIndicator with trinidad inputFile
>>> component, but
>>> i do not find any document on how to do this.
>>>
>>> Please help!
>>>
>>>
>>> Ajay Mundra
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-to-add-trinidad-progress-Indicator-with-trinidad-file-upload-component-tp17150076p17150076.html 
>>>
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>>
>

 « Return to Thread: How to add trinidad progress Indicator with trinidad file upload component