On 2/21/13 4:25 PM, Jacek wrote:
> Copied symbolic links, physical directories and files to all possible
> locations of Railo - still no luck.
>
Hrm. FWIW, I know PropertyResourceBundle works, though you shouldn't
have to resort to it if you don't want to.
No, most likely you just need to get ahold of the right classloader, and
pass that in to the constructor.
It might be easiest to start with this:
var cl = getPageContext().getConfig().getClassloader();
...=Variables.instance.rB.getBundle(arguments.rbFile,thisLocale,cl);
And then add .getParent() until you get to the system classloader:
.getBundle(arguments.rbFile,thisLocale,cl.getParent().getParent()...)
There's nowhere to go after the system classloader.
You could probably manually add the property file resource to the
classloader before passing the classloader in, but you shouldn't have to
resort to that.
:Denny
--
Railo Technologies:
getrailo.com Professional Open Source
Skype: valliantster
(505)510.1336 de...@getrailo.com
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62