Re: t5: news feed

2011-01-28 Thread pieter

maybe this can help you

http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5/
http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5/ 
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t5-news-feed-tp3355405p3361070.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: t5: news feed

2011-01-24 Thread Thiago H. de Paula Figueiredo
On Mon, 24 Jan 2011 20:35:15 -0200, Angelo C.   
wrote:



Hi,


Hi!

I'd like to  do something like twitter, it shows how many new tweets  
without viewer refreshing the screen, what's the t5 way of doing this?  
Thanks,


One way is to write some JavaScript that periodically requests an URL that  
trigger an event handler method that returns a JSONObject or JSONArray and  
then updates the DOM with the new items.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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