Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 7674 invoked from network); 7 Mar 2006 23:26:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Mar 2006 23:26:22 -0000 Received: (qmail 55238 invoked by uid 500); 7 Mar 2006 23:26:19 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 55197 invoked by uid 500); 7 Mar 2006 23:26:19 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 55186 invoked by uid 99); 7 Mar 2006 23:26:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 15:26:19 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 15:26:18 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax (Postfix) with ESMTP id 7975BD49FA for ; Tue, 7 Mar 2006 23:25:57 +0000 (GMT) Message-ID: <583655362.1141773957460.JavaMail.jira@ajax> Date: Tue, 7 Mar 2006 23:25:57 +0000 (GMT) From: "Jeff Genender (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-1705) Use AJAX to provide for a progress bar when downloading a JDBC jar In-Reply-To: <1291192593.1141739078815.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-1705?page=comments#action_12369325 ] Jeff Genender commented on GERONIMO-1705: ----------------------------------------- Yep..you are on the track... I see you launching a background task from the servlet, in a static Hashmap that has an ID, and the ID comes back to the browser on the first call. The browser can then poll the task with that ID through the servlet to get a completed % upon querying the task. Here is a great link on the design: https://bpcatalog.dev.java.net/nonav/ajax/progress-bar/ and here is some code to get an idea on a possible way to do it: https://bpcatalog.dev.java.net/source/browse/bpcatalog/ws/ajax/progress-bar/ > Use AJAX to provide for a progress bar when downloading a JDBC jar > ------------------------------------------------------------------ > > Key: GERONIMO-1705 > URL: http://issues.apache.org/jira/browse/GERONIMO-1705 > Project: Geronimo > Type: Improvement > Components: console > Versions: 1.0 > Reporter: Jeff Genender > > Use AJAX to provide for a progress bar when downloading a JDBC jar for the Download Drivers portlet. As it stands, for people who have slower connections, it currently can make them think something is wrong with Geronimo because web page refresh takes too long. A progrss bar using AJAX can help keep the user up to date on the downloading progress. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira