Greetings,
I was wondering, is there anyway to reference resource bundle text properties like "footer.company.name" in the actual Spring bean XML files i.e. like applicationContext.xml?
I have the usual ApplicationResource.properties file with name/value pairs i.e.
I don't have a problem using them in a Facelets page e.g.Code:footer.company.name=Your Company...with the following loadBundle inside one of the XHTML files...Code:#{text['footer.company.name']}
and the JSF faces-config.xml set toCode:<f:loadBundle basename="ApplicationResources" var="text" />
Code:<application><el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver> <locale-config> <default-locale>en</default-locale> </locale-config> <message-bundle>ApplicationResources</message-bundle> </application>


Reply With Quote
...
