Results 1 to 5 of 5

Thread: Time consuming process feedback

  1. #1
    Sencha User
    Join Date
    Dec 2008
    Posts
    85
    Answers
    7

    Default Time consuming process feedback

    Hi, in one app, I let the user click on a link that generates a very big PDF file. I would like to show a progress indicator to show the user the status of the process.

    How can I do this?.

    The PDF is generated by a CGI program server side.

    Regards,
    Leonardo.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716

    Default

    Does the server provide this information for you? Most likely you would just have to create a 'busy' progress.

    Scott.

  3. #3
    Sencha User
    Join Date
    Dec 2008
    Posts
    85
    Answers
    7

    Default

    Does the server provide this information for you?
    Not now, but I can do this. How?.

    Most likely you would just have to create a 'busy' progress.
    Yes, I thought so, but, it's better to have a more or less "real" progress.

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716

    Default

    The server would have to report the progress back to the client along with the estimated size of the final result so the client calc and display.

    The client would need to check on intervals since it has to instigate the conversation.

    Scott.

  5. #5
    Sencha User
    Join Date
    Dec 2008
    Posts
    85
    Answers
    7

    Default

    So, the client starts the process, then the server answers back with the progress and total until it reaches the final result, where it sends the PDF stream.

    I didn't test this, but can I send progress on the same communication channel?.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •