Re: Handling onload for libraries loaded via require.js

2014-04-09 Thread Michael Wyraz
The code here seems to be a clean solution to workaround the problem - but there's still the problem that we'd have to change each library's init code. http://stackoverflow.com/questions/18970350/using-jquery-load-with-requirejs I hit the following problem on 5.4 which makes me some headache

Handling onload for libraries loaded via require.js

2014-04-09 Thread Michael Wyraz
Hi, I hit the following problem on 5.4 which makes me some headaches: Tapestry loads all modules/scripts using require.js. That causes all the stuff be loaded after the window.onload event was fired. But many libs initialize themself onload. For example have a look on bootstrap/scrollspy.js d

Re: Broken UTF-8 handling in tapestry 5.4 becomes show-stopper - please help

2014-04-09 Thread Michael Wyraz
It is because that is only a intermediate presentation of the page's content: - it is read from filesystem by whatever encoding is configured - it is pre-processed and written internally as UTF-8 (hard-coded) into a byte array or such - it is read again internally as System encoding (not hardcod