@Chris: thanks again and sorry for my tone of sharpness regarding the community activity. I watched JSON technics. As far as I got it, it is just a container to keep your data, like a hash. So what is advantages to use it instead of 'renderSupport.addScript(js);' where I constructed the js function and passed the translated Strings. In case of JSON, I would do the same, i.e. passe the same values to JSON object as key-value pairs.
Something like that: myString = new JSONObject().put("some_key", messages.get("app.some.key")).toString(); The only difference I see for the moment is just I would pass JSON object to my Jaavscript function instead of passing all the translations. But in the Javascript function I should do the same, - get the translations back. Am I right ? Or I got it wrong? Thks -- View this message in context: http://tapestry.1045711.n5.nabble.com/inject-i18-text-in-javascript-variables-jQuery-tp5094388p5097512.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