Hi list,

I'd like to know if there is a simple way to perform a periodic Ajax update
request.

I've invented hacked a solution using the Ajax.PeriodicalUpdater from
prototype.js.  It involves putting an ActionLink on the page, giving it a
client id, making it invisible to the user (with display: none), and then
making a new Ajax.PeriodicalUpdater using the a.href from the ActionLink. 
The result of this call is a string containing the content generated by the
Block element, which I must then parse.  If I do not manipulate the
response, the Zone will contain something like "{ content : "blah blah blah"
}".

I'm not crazy about my solution, and, moreover, it results in a mysterious
403 Forbidden reply on some platforms.

Otherwise, having great fun with T5.  Keep up the excellent work!

Regards,
Marc

-- 
View this message in context: 
http://www.nabble.com/T5%3A-Ajax-periodic-update-tp17315174p17315174.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to