Show domain updates

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Show domain updates

Dirk Verleysen-2
Janko,

I have a business process that has an instance variable currentState. During the execution of this process the currentState is changed. Is there a way to show this status on my webpage ?

Dirk
------------- volgend deel ------------
Een HTML-bijlage is verwijderd...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20071024/7e394684/attachment.htm 

Reply | Threaded
Open this post in threaded view
|

Show domain updates

Janko Mivšek
Dirk,

Dirk Verleysen wrote:

> I have a business process that has an instance variable currentState.
> During the execution of this process the currentState is changed. Is
> there a way to show this status on my webpage ?

You are probably like to have a Comet, or so called Reverse Ajax instant
  updating of an element of your web page when some event occurs?

In Aida this is easy achievable by deferring a response to periodic Ajax
update of that element until an event occurs. And to signal that event,
you can use Vasily's Announcements, a very very useful thing in general!

Best regards
Janko

--
Janko Miv?ek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si

Reply | Threaded
Open this post in threaded view
|

Show domain updates

Dirk Verleysen
I'm using announcements so I'll try this. Thanks for the lead.

-----Oorspronkelijk bericht-----
Van: aida-bounces op aidaweb.si [mailto:aida-bounces op aidaweb.si] Namens Janko Miv?ek
Verzonden: woensdag 24 oktober 2007 10:45
Aan: AIDA/Web general discussion list
Onderwerp: Re: [aida] Show domain updates

Dirk,

Dirk Verleysen wrote:

> I have a business process that has an instance variable currentState.
> During the execution of this process the currentState is changed. Is
> there a way to show this status on my webpage ?

You are probably like to have a Comet, or so called Reverse Ajax instant
  updating of an element of your web page when some event occurs?

In Aida this is easy achievable by deferring a response to periodic Ajax
update of that element until an event occurs. And to signal that event,
you can use Vasily's Announcements, a very very useful thing in general!

Best regards
Janko

--
Janko Miv?ek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
Aida op aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida

Reply | Threaded
Open this post in threaded view
|

Show domain updates

Dirk Verleysen-2
Maybe a stupid question but how do you tell a periodic Ajax update to wait
for an event.


----- Original Message -----
From: "Dirk Verleysen" <dirk.verleysen op roots.be>
To: "AIDA/Web general discussion list" <aida op aidaweb.si>
Sent: Wednesday, October 24, 2007 10:54 AM
Subject: Re: [aida] Show domain updates


> I'm using announcements so I'll try this. Thanks for the lead.
>
> -----Oorspronkelijk bericht-----
> Van: aida-bounces op aidaweb.si [mailto:aida-bounces op aidaweb.si] Namens Janko
> Miv?ek
> Verzonden: woensdag 24 oktober 2007 10:45
> Aan: AIDA/Web general discussion list
> Onderwerp: Re: [aida] Show domain updates
>
> Dirk,
>
> Dirk Verleysen wrote:
>
>> I have a business process that has an instance variable currentState.
>> During the execution of this process the currentState is changed. Is
>> there a way to show this status on my webpage ?
>
> You are probably like to have a Comet, or so called Reverse Ajax instant
>  updating of an element of your web page when some event occurs?
>
> In Aida this is easy achievable by deferring a response to periodic Ajax
> update of that element until an event occurs. And to signal that event,
> you can use Vasily's Announcements, a very very useful thing in general!
>
> Best regards
> Janko
>
> --
> Janko Miv?ek
> AIDA/Web
> Smalltalk Web Application Server
> http://www.aidaweb.si
> _______________________________________________
> Aida mailing list
> Aida op aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
> _______________________________________________
> Aida mailing list
> Aida op aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
>


Reply | Threaded
Open this post in threaded view
|

Show domain updates

Dirk Verleysen
It's ok... I got it working.

-----Oorspronkelijk bericht-----
Van: aida-bounces op aidaweb.si [mailto:aida-bounces op aidaweb.si] Namens Dirk Verleysen
Verzonden: woensdag 24 oktober 2007 12:34
Aan: AIDA/Web general discussion list
Onderwerp: Re: [aida] Show domain updates

Maybe a stupid question but how do you tell a periodic Ajax update to wait
for an event.


----- Original Message -----
From: "Dirk Verleysen" <dirk.verleysen op roots.be>
To: "AIDA/Web general discussion list" <aida op aidaweb.si>
Sent: Wednesday, October 24, 2007 10:54 AM
Subject: Re: [aida] Show domain updates


> I'm using announcements so I'll try this. Thanks for the lead.
>
> -----Oorspronkelijk bericht-----
> Van: aida-bounces op aidaweb.si [mailto:aida-bounces op aidaweb.si] Namens Janko
> Miv?ek
> Verzonden: woensdag 24 oktober 2007 10:45
> Aan: AIDA/Web general discussion list
> Onderwerp: Re: [aida] Show domain updates
>
> Dirk,
>
> Dirk Verleysen wrote:
>
>> I have a business process that has an instance variable currentState.
>> During the execution of this process the currentState is changed. Is
>> there a way to show this status on my webpage ?
>
> You are probably like to have a Comet, or so called Reverse Ajax instant
>  updating of an element of your web page when some event occurs?
>
> In Aida this is easy achievable by deferring a response to periodic Ajax
> update of that element until an event occurs. And to signal that event,
> you can use Vasily's Announcements, a very very useful thing in general!
>
> Best regards
> Janko
>
> --
> Janko Miv?ek
> AIDA/Web
> Smalltalk Web Application Server
> http://www.aidaweb.si
> _______________________________________________
> Aida mailing list
> Aida op aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
> _______________________________________________
> Aida mailing list
> Aida op aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
>

_______________________________________________
Aida mailing list
Aida op aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida

Reply | Threaded
Open this post in threaded view
|

Show domain updates

Dirk Verleysen-2
In reply to this post by Dirk Verleysen-2
It's working but when the status of my process changes I get a 400 bad
request error. Once the process is finished my end status is shown
correctly.

Dirk
----- Original Message -----
From: "Dirk Verleysen" <dirk op verleysen.net>
To: "AIDA/Web general discussion list" <aida op aidaweb.si>
Sent: Wednesday, October 24, 2007 12:33 PM
Subject: Re: [aida] Show domain updates


> Maybe a stupid question but how do you tell a periodic Ajax update to wait
> for an event.
>
>
> ----- Original Message -----
> From: "Dirk Verleysen" <dirk.verleysen op roots.be>
> To: "AIDA/Web general discussion list" <aida op aidaweb.si>
> Sent: Wednesday, October 24, 2007 10:54 AM
> Subject: Re: [aida] Show domain updates
>
>
>> I'm using announcements so I'll try this. Thanks for the lead.
>>
>> -----Oorspronkelijk bericht-----
>> Van: aida-bounces op aidaweb.si [mailto:aida-bounces op aidaweb.si] Namens
>> Janko
>> Miv?ek
>> Verzonden: woensdag 24 oktober 2007 10:45
>> Aan: AIDA/Web general discussion list
>> Onderwerp: Re: [aida] Show domain updates
>>
>> Dirk,
>>
>> Dirk Verleysen wrote:
>>
>>> I have a business process that has an instance variable currentState.
>>> During the execution of this process the currentState is changed. Is
>>> there a way to show this status on my webpage ?
>>
>> You are probably like to have a Comet, or so called Reverse Ajax instant
>>  updating of an element of your web page when some event occurs?
>>
>> In Aida this is easy achievable by deferring a response to periodic Ajax
>> update of that element until an event occurs. And to signal that event,
>> you can use Vasily's Announcements, a very very useful thing in general!
>>
>> Best regards
>> Janko
>>
>> --
>> Janko Miv?ek
>> AIDA/Web
>> Smalltalk Web Application Server
>> http://www.aidaweb.si
>> _______________________________________________
>> Aida mailing list
>> Aida op aidaweb.si
>> http://lists.aidaweb.si/mailman/listinfo/aida
>> _______________________________________________
>> Aida mailing list
>> Aida op aidaweb.si
>> http://lists.aidaweb.si/mailman/listinfo/aida
>>
>
> _______________________________________________
> Aida mailing list
> Aida op aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
>