Hi all! I migrated a project to Spring 3. To make it work with Tapestry I had to upgrade to 5.2-Snapshot.
Now I use RenderSupport.addScript(String scriptSnippet) and RenderSupport.addScriptLink(String) quite a lot. Both of them are deprecated and removed but the latter doesn't have a direct counterpart in the new JavascriptSupport service. The JavascriptSupport.importJavaScriptLibrary(Asset asset) makes dynamically building the script link tedious at least. I think this is quite a breaking change of the public API for a lot of apps which use RenderSupport. Is this only a transitional effect due to the beta nature of 5.2, or are these changes meant as final? If it is meant as final: Wouldn't it be better to deprecate the methods in RenderSupport but keep them in for compatibility with legacy apps and hint at the new JavascriptSupport for future projects and remove the deprecated API only at the next major version? Regards, Otho