I may be stating the obvious, but I wasn't the only one on my team caught out by this, so I thought I'd best mention it.
I recently discovered the hard way that there's a problem with using < script > elements in XPages. Always use < xp:scriptBlock > instead. Why, you ask? Either seems to work fine!
BTW if you're thinking the translators will be smart enough to recognize source code when they see it and leave it alone, (1) not a good thing to count on, and (2) the other-language property files will mess up the functionality even before translation starts, because they tag the to-be-translated strings with, e.g. "[zh_TW" at the beginning, which won't still be executable code.
Andre Guirard | 15 May 2013 01:10:57 PM ET | | Comments (0)