Bors
-Original Message-
From: seyaw [mailto:seidy...@gmail.com]
Sent: Monday, November 18, 2013 2:25 PM
To: users@wicket.apache.org
Subject: RE: DownloadLink and ProgressBar
Yes Paul, getting the progress of the file generation is one of my challenge
right now. The file generation
Hi,
I haven't seen a web application that shows progress bar for download.
The browser itself shows such information - Google Chrome in the
bottom-left corner, Firefox in its download window/manager.
On Sat, Nov 16, 2013 at 11:40 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Hi,
Martin,
Thanks for your comments.
On Mon, Nov 18, 2013 at 9:10 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Hi,
I haven't seen a web application that shows progress bar for download.
The browser itself shows such information - Google Chrome in the
bottom-left corner, Firefox in its
I didn't read the question correctly.
It indeed talks about showing progress for the generation process, not the
download.
On Mon, Nov 18, 2013 at 10:39 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Martin,
Thanks for your comments.
On Mon, Nov 18, 2013 at 9:10 AM, Martin
Hi Ernesto,
A working example might be helpful.
Thank you
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DownloadLink-and-ProgressBar-tp4662451p4662485.html
Sent from the Users forum mailing list archive at Nabble.com.
I think
https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/progressbar-parent
has
such examples
On Mon, Nov 18, 2013 at 10:52 AM, seyaw seidy...@gmail.com wrote:
Hi Ernesto,
A working example might be helpful.
Thank you
--
View this message in context:
Thanks for the pointer!
On Mon, Nov 18, 2013 at 10:54 AM, Martin Grigorov mgrigo...@apache.orgwrote:
I think
https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/progressbar-parent
has
such examples
On Mon, Nov 18, 2013 at 10:52 AM, seyaw seidy...@gmail.com wrote:
Hi
How do you track the progress of your file generation in order to show the
status bar?
~ Thank you,
Paul Bors
-Original Message-
From: seyaw [mailto:seidy...@gmail.com]
Sent: Monday, November 18, 2013 3:52 AM
To: users@wicket.apache.org
Subject: Re: DownloadLink and ProgressBar
Hi
Bors
-Original Message-
From: seyaw [mailto:seidy...@gmail.com]
Sent: Monday, November 18, 2013 3:52 AM
To: users@wicket.apache.org
Subject: Re: DownloadLink and ProgressBar
Hi Ernesto,
A working example might be helpful.
Thank you
--
View this message in context:
http
Yes Paul, getting the progress of the file generation is one of my challenge
right now. The file generation is, in my case is not linear. For example,
the time it takes for different procedures is depend on the project size.
Currently, I just make a rough estimation so that the user at least can
Do you want me to build a little example for this?
On Sat, Nov 16, 2013 at 7:59 PM, seyaw seidy...@gmail.com wrote:
Thank you Ernesto for your prompt response.
1. is okay.
Then for 2. I suppose I start the thread from the onclick method of the
ajax
link. Can you explain a bit how to start
Dear Ernesto
Thank you very much for your help. Your comments were very helpful.
I solve the problem as you suggested with little modification
1. follow the reference you mention [1]
2. add AjaxLink that will generate a file
add(new AjaxLink(download)
{
@Override
Create a class that implements Runnable. Find how to launch a runnable
(e.g. using a thread pool). Keep a reference to this runnable and use some
property of it to track progress. Use an AJAX timer to pol for this value.
On Sun, Nov 17, 2013 at 10:14 AM, seyaw seidy...@gmail.com wrote:
Dear
Hi,
1-Replace the download link by an AJAX link.
2-Launch file generation on a background thread. Pass a class to this
thread that serves as context fro passing information from generating
thread with web threads (keeping a reference to thisi context on the page).
3-Make a progress panel visible
Thank you Ernesto for your prompt response.
1. is okay.
Then for 2. I suppose I start the thread from the onclick method of the ajax
link. Can you explain a bit how to start the file genaration with a thread?
and for 3. how to pol the server for the progress?
Thank you very much
--
View this
15 matches
Mail list logo