Quantcast

Jelly and slow method calls

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Jelly and slow method calls

Sascha Scholz-4
Hi all,

we have created a custom build trigger page which displays data that's
coming from remote systems. Currently, the Jelly UI is blocked by the
synchronous remote calls which take 1-2 seconds. Is there a way to
request data in an asynchronous way (e.g. when a drop-down list is
opened)? If not, how can we make the data loading visible to the user
(e.g. similar to the overlay that is shown for the Jenkins and job
configuration pages)?

Do you have any ideas or examples which you can point us to?

Thanks a lot,
Sascha
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Jelly and slow method calls

Sascha Scholz-4
Does nobody have an idea what we can do here?

Regards,
Sascha

On Mon, Jun 4, 2012 at 10:42 AM, Sascha Scholz <[hidden email]> wrote:

> Hi all,
>
> we have created a custom build trigger page which displays data that's
> coming from remote systems. Currently, the Jelly UI is blocked by the
> synchronous remote calls which take 1-2 seconds. Is there a way to
> request data in an asynchronous way (e.g. when a drop-down list is
> opened)? If not, how can we make the data loading visible to the user
> (e.g. similar to the overlay that is shown for the Jenkins and job
> configuration pages)?
>
> Do you have any ideas or examples which you can point us to?
>
> Thanks a lot,
> Sascha
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Jelly and slow method calls

stephenconnolly
You'd need to use the ajax support to load the delayed content, and
switch to non-blocking calls

On 5 June 2012 10:28, Sascha Scholz <[hidden email]> wrote:

> Does nobody have an idea what we can do here?
>
> Regards,
> Sascha
>
> On Mon, Jun 4, 2012 at 10:42 AM, Sascha Scholz <[hidden email]> wrote:
>> Hi all,
>>
>> we have created a custom build trigger page which displays data that's
>> coming from remote systems. Currently, the Jelly UI is blocked by the
>> synchronous remote calls which take 1-2 seconds. Is there a way to
>> request data in an asynchronous way (e.g. when a drop-down list is
>> opened)? If not, how can we make the data loading visible to the user
>> (e.g. similar to the overlay that is shown for the Jenkins and job
>> configuration pages)?
>>
>> Do you have any ideas or examples which you can point us to?
>>
>> Thanks a lot,
>> Sascha
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Jelly and slow method calls

stephenconnolly
In reply to this post by Sascha Scholz-4
You'd need to use the ajax support to load the delayed content, and
switch to non-blocking calls

On 5 June 2012 10:28, Sascha Scholz <[hidden email]> wrote:

> Does nobody have an idea what we can do here?
>
> Regards,
> Sascha
>
> On Mon, Jun 4, 2012 at 10:42 AM, Sascha Scholz <[hidden email]> wrote:
>> Hi all,
>>
>> we have created a custom build trigger page which displays data that's
>> coming from remote systems. Currently, the Jelly UI is blocked by the
>> synchronous remote calls which take 1-2 seconds. Is there a way to
>> request data in an asynchronous way (e.g. when a drop-down list is
>> opened)? If not, how can we make the data loading visible to the user
>> (e.g. similar to the overlay that is shown for the Jenkins and job
>> configuration pages)?
>>
>> Do you have any ideas or examples which you can point us to?
>>
>> Thanks a lot,
>> Sascha
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Jelly and slow method calls

Sascha Scholz-4
Sounds good. Any examples out there?

On Tue, Jun 5, 2012 at 1:51 PM, Stephen Connolly
<[hidden email]> wrote:

> You'd need to use the ajax support to load the delayed content, and
> switch to non-blocking calls
>
> On 5 June 2012 10:28, Sascha Scholz <[hidden email]> wrote:
>> Does nobody have an idea what we can do here?
>>
>> Regards,
>> Sascha
>>
>> On Mon, Jun 4, 2012 at 10:42 AM, Sascha Scholz <[hidden email]> wrote:
>>> Hi all,
>>>
>>> we have created a custom build trigger page which displays data that's
>>> coming from remote systems. Currently, the Jelly UI is blocked by the
>>> synchronous remote calls which take 1-2 seconds. Is there a way to
>>> request data in an asynchronous way (e.g. when a drop-down list is
>>> opened)? If not, how can we make the data loading visible to the user
>>> (e.g. similar to the overlay that is shown for the Jenkins and job
>>> configuration pages)?
>>>
>>> Do you have any ideas or examples which you can point us to?
>>>
>>> Thanks a lot,
>>> Sascha
Loading...