I found why it didn't work. I just replaced: Tapestry.Initializer.load = function loadPass(jsonObject){ .... }
with Tapestry.Initializer.loadPass = function loadPass(jsonObject){ ... } I believed that 'load' was a maethod to call on Tapestry.Initializer object(unfortunately T API says nothing about that). Of course I removed the 'if' check for 'error' variable in the Java class, if not, the function is never loaded. Cheers. And thank you for your time :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Difference-between-renderSupport-addScript-and-JSON-addInit-function-JSON-Object-tp5105620p5139660.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