My component library directory tree is setup as the following:
resources
mylib
css
mycomponent.css
properties
mycomponent.properties
mycomponent.xhtml
I'd like to load the properties file within mycomponent.xhtml to use for messages. What is the proper way of doing this? Is there an f:loadbundle type of solution?
Composites have implicit support for resource bundles via
#{cc.resourceBundleMap}
. This only prerequires:So, if you restructure a bit,
Then you should be able to access it as below: