You should check visural-wicket project
(http://code.google.com/p/visural-wicket/) and live demo on
http://visural-wicket-examples.appspot.com/app/ . In submitters
there are some fancy looking waiting popup messages which could
help.
--
Best Regards / Pozdrawiam,
Tomasz Dziurko
Thanks for all the hints so far, they are really helpful but ;)
Well, I don't want to have busy indicators on different components, I'm
looking for a way to display status messages (like eg with jGrowl)
during the long-running process (triggered by AjaxButton). I guess the
only way to
: users-h...@wicket.apache.org
--
View this message in context:
http://old.nabble.com/How-to-give-feedback-in-long-running-operation-within-AjaxButton.onSubmit%28%29--tp28182827p28188414.html
Sent from the Wicket - User mailing list archive at Nabble.com
Ok, but this is *not* what I want to achieve, beggin' your pardon ;-)
The first messages should not display when starting the operation, but
when a certain sub-task is finished. Say, I iterate over a list in the
operation, and after each cycle I'd like to display a jGrowl message ...
-Tom
in context:
http://old.nabble.com/How-to-give-feedback-in-long-running-operation-within-AjaxButton.onSubmit%28%29--tp28182827p28188512.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
Hi Tom,
What I do, for instance, when exporting files to PDF, Excel, etc, is start
the process on a background thread, block the screen so that users can only
wait or stop the process, and use an AJAX timer to get back to the server
every few seconds to monitor the progress and display it as
Hi Ernesto,
this sounds like a viable solution, I'd be glad if you could provide me
with some more details (e.g. code samples, if available).
-Tom
Am 09.04.2010 09:39, schrieb Ernesto Reinaldo Barreiro:
Hi Tom,
What I do, for instance, when exporting files to PDF, Excel, etc, is start
, 2010 12:44 AM
To: users@wicket.apache.org
Subject: Re: How to give feedback in long-running operation within
AjaxButton.onSubmit()?
Hi Ernesto,
this sounds like a viable solution, I'd be glad if you could provide me
with some more details (e.g. code samples, if available).
-Tom
Am 09.04.2010
To: users@wicket.apache.org
Subject: Re: How to give feedback in long-running operation within
AjaxButton.onSubmit()?
Hi Ernesto,
this sounds like a viable solution, I'd be glad if you could provide me
with some more details (e.g. code samples, if available).
-Tom
Am 09.04.2010 09:39
Hi Tom,
Take a look at [1]...[4]. There I'm creating a thread each time the long
running process is launched but maybe it would be more correct to use a
thread pool or use scheduler like quartz for this task. Feel free to
use/change the code there as it best suits your needs.
Ernesto
Thanks!
-Tom
Am 09.04.2010 10:55, schrieb Ernesto Reinaldo Barreiro:
Hi Tom,
Take a look at [1]...[4]. There I'm creating a thread each time the long
running process is launched but maybe it would be more correct to use a
thread pool or use scheduler like quartz for this task. Feel free
Problem:
I have an AjaxButton that triggers a long-running operation when clicked. I
want to give feedback (in form of a javascript message) upon partial completion
of the operation, therefore I am using a jQuery notifications plugin
(http://www.programmingmind.com/contributions).
So, what I
Does this resolve your problem?
@Override
protected IAjaxCallDecorator getAjaxCallDecorator() {
return new AjaxCallDecorator() {
private static final long serialVersionUID = 1L;
@Override
public CharSequence decorateScript(CharSequence script) {
return YOUR JAVASCRIPT +
I fear not. As far as I understand, getAjaxCallDecorator() decorates the
javascript with a custom script, which is executed immediately upon hitting the
button. What I want to achieve is displaying some status messaged during the
progress of my long-term operation ...
-Tom
On 08.04.2010
I think you may look into this package
org.apache.wicket.extensions.ajax.markup.html.form.upload where upload
progress-bar is implemented. You may do something like this.
So, probably it sets a resource in session, Java part regularly updates the
string resource. And JS keeps on polling this
--
View this message in context:
http://old.nabble.com/How-to-give-feedback-in-long-running-operation-within-AjaxButton.onSubmit%28%29--tp28182827p28184788.html
Sent from the Wicket - User mailing list archive at Nabble.com
16 matches
Mail list logo