Re: Run javascript after a zone is updated

2011-09-13 Thread derkoe
ScriptSupport - this script will be executed after the zone is updated: onAjaxEvent() { javaScriptSupport.addScript("alert('Hello')"); } -- View this message in context: http://tapestry.1045711.n5.nabble.com/Run-javascript-after-a-zone-is-updat

Re: Run javascript after a zone is updated

2011-09-13 Thread Rendy Tapestry
; the returned script manually on friebug after the cell is rendered, It > >> causes the desired effect !! > >> May be the dom isn't ready for the script to run ? I'm confused ! > >> > > > > I guest that's simply a JavaScript problem -

Re: Run javascript after a zone is updated

2011-09-12 Thread Muhammad Gelbana
ipt manually on friebug after the cell is rendered, It >> causes the desired effect !! >> May be the dom isn't ready for the script to run ? I'm confused ! >> > > I guest that's simply a JavaScript problem - did you solve it? > > Do you add the Script via

Re: Run javascript after a zone is updated

2011-09-12 Thread derkoe
it? Do you add the Script via JavaScriptSupport? -- Chris -- View this message in context: http://tapestry.1045711.n5.nabble.com/Run-javascript-after-a-zone-is-updated-tp4787067p4795128.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Run javascript after a zone is updated

2011-09-09 Thread Muhammad Gelbana
I have a table with many cells being updated using ajax calls. In the block returned by the ajax call, I conditionally run some java script to style the td and div in which the response is rendered. For a reason, this javascript isn't executed well. But I when I run the returned script manually on