You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by andre seame <an...@hotmail.fr> on 2016/05/11 16:25:04 UTC

wicket-async-task

Hello,


When loading data from database, I would like to create my own (textual) progression bar. I create a small code (from World Clock Example<http://examples7x.wicket.apache.org/ajax/world-clock>) that uses ajax. The code does not work. In fact, the wicket renderer does not nothing, it waits the end of dowloading information from the database. When all data are available, the  progress bar works !


Therefore, I create a thread to download the data, but the behavior is the same. Nothing happens until the end of datadowloading.


How to do thread in wicket ?

Is there a new implementation of  https://github.com/raphw/wicket-async-task ?

The code was built in 2013!

What is the best way to do thread in wicket ? Does wicket have built-in capabilities to manage asynchronous tasks ?


Thanks,

PHL.

Re: wicket-async-task or asynchronous task with wicket

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

On Wed, May 11, 2016 at 6:53 PM, andre seame <an...@hotmail.fr> wrote:

> Hello,
>
> I found : http://wicketinaction.com that points
> https://github.com/raphw/wicket-async-task.
>

Which article exactly points to this GitHub project ?


> Is this code the best way of doing asynchronous code with wicket ?
>
> Thanks,
> PHL.
>
>
> ________________________________________
> De : andre seame <an...@hotmail.fr>
> Envoyé : mercredi 11 mai 2016 16:25
> À : users@wicket.apache.org
> Objet : wicket-async-task
>
> Hello,
>
>
> When loading data from database, I would like to create my own (textual)
> progression bar. I create a small code (from World Clock Example<
> http://examples7x.wicket.apache.org/ajax/world-clock>) that uses ajax.
> The code does not work. In fact, the wicket renderer does not nothing, it
> waits the end of dowloading information from the database. When all data
> are available, the  progress bar works !
>
>
> Therefore, I create a thread to download the data, but the behavior is the
> same. Nothing happens until the end of datadowloading.
>
>
> How to do thread in wicket ?
>
> Is there a new implementation of
> https://github.com/raphw/wicket-async-task ?
>
> The code was built in 2013!
>
> What is the best way to do thread in wicket ? Does wicket have built-in
> capabilities to manage asynchronous tasks ?
>
>
> Thanks,
>
> PHL.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

RE: wicket-async-task or asynchronous task with wicket

Posted by andre seame <an...@hotmail.fr>.
Hello, 

I found : http://wicketinaction.com that points https://github.com/raphw/wicket-async-task. 
Is this code the best way of doing asynchronous code with wicket ? 

Thanks, 
PHL.


________________________________________
De : andre seame <an...@hotmail.fr>
Envoyé : mercredi 11 mai 2016 16:25
À : users@wicket.apache.org
Objet : wicket-async-task

Hello,


When loading data from database, I would like to create my own (textual) progression bar. I create a small code (from World Clock Example<http://examples7x.wicket.apache.org/ajax/world-clock>) that uses ajax. The code does not work. In fact, the wicket renderer does not nothing, it waits the end of dowloading information from the database. When all data are available, the  progress bar works !


Therefore, I create a thread to download the data, but the behavior is the same. Nothing happens until the end of datadowloading.


How to do thread in wicket ?

Is there a new implementation of  https://github.com/raphw/wicket-async-task ?

The code was built in 2013!

What is the best way to do thread in wicket ? Does wicket have built-in capabilities to manage asynchronous tasks ?


Thanks,

PHL.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wicket-async-task

Posted by Sebastien <se...@gmail.com>.
Hi,

If you would like to try out async websockets, here is some pointers:

https://github.com/sebfz1/wicket-quickstart-cdi-async (uses notifications,
but progressbar would work the same)
https://github.com/cat1000/FutureProgressBar

Best regards,
Sebastien.


On Wed, May 11, 2016 at 6:33 PM, Tobias Soloschenko <
tobiassoloschenko@googlemail.com> wrote:

> Hi,
>
> maybe the progress bar I build helps you a bit:
>
>
> https://github.com/klopfdreh/wicket-components-playground/wiki/12.-HTML5-Progress
>
>
> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/wicketstuff/html5/progress/Progress.java
>
> But I think the better solution is to use websockets
>
> kind regards
>
> Tobias
>
> > Am 11.05.2016 um 18:25 schrieb andre seame <an...@hotmail.fr>:
> >
> > Hello,
> >
> >
> > When loading data from database, I would like to create my own (textual)
> progression bar. I create a small code (from World Clock Example<
> http://examples7x.wicket.apache.org/ajax/world-clock>) that uses ajax.
> The code does not work. In fact, the wicket renderer does not nothing, it
> waits the end of dowloading information from the database. When all data
> are available, the  progress bar works !
> >
> >
> > Therefore, I create a thread to download the data, but the behavior is
> the same. Nothing happens until the end of datadowloading.
> >
> >
> > How to do thread in wicket ?
> >
> > Is there a new implementation of
> https://github.com/raphw/wicket-async-task ?
> >
> > The code was built in 2013!
> >
> > What is the best way to do thread in wicket ? Does wicket have built-in
> capabilities to manage asynchronous tasks ?
> >
> >
> > Thanks,
> >
> > PHL.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: wicket-async-task

Posted by Tobias Soloschenko <to...@googlemail.com>.
Hi,

maybe the progress bar I build helps you a bit:

https://github.com/klopfdreh/wicket-components-playground/wiki/12.-HTML5-Progress

https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/wicketstuff/html5/progress/Progress.java

But I think the better solution is to use websockets

kind regards

Tobias

> Am 11.05.2016 um 18:25 schrieb andre seame <an...@hotmail.fr>:
> 
> Hello,
> 
> 
> When loading data from database, I would like to create my own (textual) progression bar. I create a small code (from World Clock Example<http://examples7x.wicket.apache.org/ajax/world-clock>) that uses ajax. The code does not work. In fact, the wicket renderer does not nothing, it waits the end of dowloading information from the database. When all data are available, the  progress bar works !
> 
> 
> Therefore, I create a thread to download the data, but the behavior is the same. Nothing happens until the end of datadowloading.
> 
> 
> How to do thread in wicket ?
> 
> Is there a new implementation of  https://github.com/raphw/wicket-async-task ?
> 
> The code was built in 2013!
> 
> What is the best way to do thread in wicket ? Does wicket have built-in capabilities to manage asynchronous tasks ?
> 
> 
> Thanks,
> 
> PHL.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wicket-async-task

Posted by Martin Grigorov <mg...@apache.org>.
On Wed, May 11, 2016 at 6:25 PM, andre seame <an...@hotmail.fr> wrote:

> Hello,
>
>
> When loading data from database, I would like to create my own (textual)
> progression bar. I create a small code (from World Clock Example<
> http://examples7x.wicket.apache.org/ajax/world-clock>) that uses ajax.
> The code does not work. In fact, the wicket renderer does not nothing, it
> waits the end of dowloading information from the database. When all data
> are available, the  progress bar works !
>
>
> Therefore, I create a thread to download the data, but the behavior is the
> same. Nothing happens until the end of datadowloading.
>
>
> How to do thread in wicket ?
>
> Is there a new implementation of
> https://github.com/raphw/wicket-async-task ?
>

https://github.com/wicketstuff/core/tree/master/async-tasks-parent


>
> The code was built in 2013!
>
> What is the best way to do thread in wicket ? Does wicket have built-in
> capabilities to manage asynchronous tasks ?
>
>
> Thanks,
>
> PHL.
>