Re: Server side or timed update of a zone

2012-05-24 Thread Geoff Callender
Have you seen this? I haven't gone very far into reverse AJAX but I thought 
this article might give you a leg up. 

http://www.ibm.com/developerworks/web/library/wa-reverseajax4/

Cheers,

Geoff

On 24/05/2012, at 8:15 PM, Lance Java wrote:

> I started developing a tapestry-push component built on top of 
> http://directwebremoting.org/dwr/documentation/reverse-ajax/index.html DWR's
> reverse ajax  but was disheartened to find that the DWR guys don't eat their
> own dogfood when it comes to push.
> 
> I'm about to make a second attempt at tapestry-push built on top of 
> http://cometd.org/  CometD  which is reportedly a much more reliable push
> mechanism.
> 
> You might find 
> http://tapestry.1045711.n5.nabble.com/tapestry-push-proof-of-concept-td5697644.html
> this recent post  interesting.
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Server-side-or-timed-update-of-a-zone-tp5713379p5713380.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Server side or timed update of a zone

2012-05-24 Thread Lance Java
I started developing a tapestry-push component built on top of 
http://directwebremoting.org/dwr/documentation/reverse-ajax/index.html DWR's
reverse ajax  but was disheartened to find that the DWR guys don't eat their
own dogfood when it comes to push.

I'm about to make a second attempt at tapestry-push built on top of 
http://cometd.org/  CometD  which is reportedly a much more reliable push
mechanism.

You might find 
http://tapestry.1045711.n5.nabble.com/tapestry-push-proof-of-concept-td5697644.html
this recent post  interesting.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Server-side-or-timed-update-of-a-zone-tp5713379p5713380.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



RE: Server side or timed update of a zone

2012-05-24 Thread Poder, Jacob
Hi,

Have a look at the ZoneRefresh mixin, perhaps that's what you are looking for?

Cheers,
Jacob

-Original Message-
From: Fuhrmann, Hauke [mailto:hauke.fuhrm...@funkwerk-it.com] 
Sent: Thursday, May 24, 2012 11:45 AM
To: users@tapestry.apache.org
Subject: Server side or timed update of a zone

Hi there,

 

I have a html table (i.e. tapestry grid component) with some data coming from 
tapestry to the client. Whenever the server has new data for the table I want 
the table to update automatically without the user to reload the page.

 

I understand that this is not possible in general with the request/response 
pattern in http. However, with Ajax, there should be some way, e.g. by 
triggering the client to regularly (e.g. every 10s) execute an ajax request for 
new data. 

 

Is there support in Tapestry for such pattern? 

I understand that zones in tapestry can be updated by certain events like 
clicking on some link. However, is there a timer event that could also trigger 
such update?

Is this even possible? Do I have to implement it manually by Javascript?

 

Cheers,

Hauke

 

 


--
Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen 
enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender durch 
eine Antwortmail und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie 
die unbefugte Weitergabe dieser Mail ist nicht gestattet. Wir danken fuer Ihre 
Kooperation.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient or have received this e-mail in error, you are on 
notice of its status. Please notify the sender immediately by reply e-mail and 
delete this e-mail from your systems. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly prohibited. Thank you 
for your cooperation.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


Server side or timed update of a zone

2012-05-24 Thread Fuhrmann, Hauke
Hi there,

 

I have a html table (i.e. tapestry grid component) with some data coming
from tapestry to the client. Whenever the server has new data for the
table I want the table to update automatically without the user to
reload the page.

 

I understand that this is not possible in general with the
request/response pattern in http. However, with Ajax, there should be
some way, e.g. by triggering the client to regularly (e.g. every 10s)
execute an ajax request for new data. 

 

Is there support in Tapestry for such pattern? 

I understand that zones in tapestry can be updated by certain events
like clicking on some link. However, is there a timer event that could
also trigger such update?

Is this even possible? Do I have to implement it manually by Javascript?

 

Cheers,

Hauke

 

 


-- 
Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen 
enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender durch 
eine Antwortmail und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie 
die unbefugte Weitergabe dieser Mail ist nicht gestattet. Wir danken fuer Ihre 
Kooperation.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient or have received this e-mail in error, you are on 
notice of its status. Please notify the sender immediately by reply e-mail and 
delete this e-mail from your systems. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly prohibited. Thank you 
for your cooperation.