I have my own class ResourceBundle org.example.web.UILabels.java, which works fine when running the code , but the JSF editor in Eclipse does not find it, I believe that the editor / validator only searches for property files by name. It also means that I no longer get a type residing on resources that was very nice to have.
Any ideas how this can be fixed?
<f:loadBundle basename="org.example.web.UILabels" var="uiLabels"/> ... <h:outputText value="#{uiLabels.someTextValue}" /> ...
I get an error (in the list of problems errors)
The resource package org.example.web.UILabels could not be found in the classpath
Type = JSF Problem
Eclipse3.4.0 with versions of WebStandardTools
- Version: 1.4.0.v200802280619-13-7w311917141518
- Version: 1.5.1.v200802280619-1407w311917141519
- Version: 3.0.0.v200806092130-7A-8Y8QqN2lf4VSWrI2ek5Pf4k7s
For more information on why I use the ResourceBundle class, and not just the properties file, see Question 653682 how-to override-some-resources-from-a-propertyresourcebundle
Thank you for your time, David Waters.
source share