Re: Easy way to have a progression bar during repeater

2016-05-11 Thread Ernesto Reinaldo Barreiro
Oops...

https://gist.github.com/robmcguinness/706011

On Wed, May 11, 2016 at 3:20 PM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:

> Something similar to
>
> https://gist.github.com/robmcguinness/70601
>
> On Wed, May 11, 2016 at 3:05 PM, andre seame  wrote:
>
>> Hello,
>>
>>
>> In first approximation, inDataTableFilterToolbarPage the code is :
>>
>> 1) Get Data from "external Database" (in fact, the example build more or
>> less random data) and put in  memory list
>>
>> 2) Use repeater wicket code to display the list to the end user.
>>
>>
>> Therefore the Wicket Html is just :
>>
>> [table]
>>
>>
>> In my case, the reading of the database is very slow (2 to 5 minuts). Of
>> course the idea is to do some optimization, but I would like present a
>> progression bar to the End user.
>>
>>
>> How to do that ?
>>
>> 1) Create a Popup ? Is it possible to create a popup that will disappear
>> at the end of progression ?
>>
>> 2) Adding a waiting page that will call my "old wicket code" (so use the
>> page with the > wicket:id="tableWithFilterForm">[table])
>>
>> 3) Design the page to have 2 components : 1 waiting component and 1 table
>> dataview component ?
>>
>>
>> How to do that : Ajax code ? Java Thread ?
>>
>>
>> Is there any pointer in the wicket example ?
>>
>>
>> Thanks,
>>
>> PHL.
>>
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>



-- 
Regards - Ernesto Reinaldo Barreiro


Re: Easy way to have a progression bar during repeater

2016-05-11 Thread Ernesto Reinaldo Barreiro
Something similar to

https://gist.github.com/robmcguinness/70601

On Wed, May 11, 2016 at 3:05 PM, andre seame  wrote:

> Hello,
>
>
> In first approximation, inDataTableFilterToolbarPage the code is :
>
> 1) Get Data from "external Database" (in fact, the example build more or
> less random data) and put in  memory list
>
> 2) Use repeater wicket code to display the list to the end user.
>
>
> Therefore the Wicket Html is just :
>
> [table]
>
>
> In my case, the reading of the database is very slow (2 to 5 minuts). Of
> course the idea is to do some optimization, but I would like present a
> progression bar to the End user.
>
>
> How to do that ?
>
> 1) Create a Popup ? Is it possible to create a popup that will disappear
> at the end of progression ?
>
> 2) Adding a waiting page that will call my "old wicket code" (so use the
> page with the  wicket:id="tableWithFilterForm">[table])
>
> 3) Design the page to have 2 components : 1 waiting component and 1 table
> dataview component ?
>
>
> How to do that : Ajax code ? Java Thread ?
>
>
> Is there any pointer in the wicket example ?
>
>
> Thanks,
>
> PHL.
>



-- 
Regards - Ernesto Reinaldo Barreiro


Easy way to have a progression bar during repeater

2016-05-11 Thread andre seame
Hello,


In first approximation, inDataTableFilterToolbarPage the code is :

1) Get Data from "external Database" (in fact, the example build more or less 
random data) and put in  memory list

2) Use repeater wicket code to display the list to the end user.


Therefore the Wicket Html is just :

[table]


In my case, the reading of the database is very slow (2 to 5 minuts). Of course 
the idea is to do some optimization, but I would like present a progression bar 
to the End user.


How to do that ?

1) Create a Popup ? Is it possible to create a popup that will disappear at the 
end of progression ?

2) Adding a waiting page that will call my "old wicket code" (so use the page 
with the [table])

3) Design the page to have 2 components : 1 waiting component and 1 table 
dataview component ?


How to do that : Ajax code ? Java Thread ?


Is there any pointer in the wicket example ?


Thanks,

PHL.