ResourceBundleMessageSource « Message « Spring Q&A





1. globalError get the message in ResourceBundleMessageSource    forum.springsource.org

globalError get the message in ResourceBundleMessageSource Hi, In my form, I ve 2 date fields which I define a "From" date and a "To" date. When the user give a "From" ...

2. ResourceBundleMessageSource without the message tag    forum.springsource.org

I'm using a mixture of JSP views and Xslt Views and need to support i18n throughout (meaning I can't simply use the spring:message tag). Is there a way to use ResourceBundleMessageSource ...

3. Trouble retrieving ResourceBundleMessageSource messages from JUnit test    forum.springsource.org

Hi, How does one make messages.properties accesible from JUnit tests? I have a /WEB-INF/classes/messages.properties file which is loaded from ResourceBundleMessageSource. In addition to standard business messages, I have audit messages in ...

4. messages.xml and ResourceBundleMessageSource    forum.springsource.org

In the API spec it states you can use an .xml file, aka messages.xml instead of a message.properties file with the bean ResourceBundleMessageSource. I have managed to make it work with ...

5. ResourceBundleMessageSource - path to message files    forum.springsource.org

Hi Is it possible to have the message files for a ResourceBundleMessageSource somewhere else then under WEB-INF/classes? I have tried to put different basename values like: Code:

6. Odd behavior using ResourceBundleMessageSource with messages containing apostrophes    forum.springsource.org

Odd behavior using ResourceBundleMessageSource with messages containing apostrophes I'm experiencing some strange behavior when fetching messages with apostrophes surrounding argument usage from a resource bundle using Spring's ResourceBundleMessageSource. Specifically, the apostrophes ...

7. ResourceBundleMessageSource returns message for missing locale    forum.springsource.org

ResourceBundleMessageSource returns message for missing locale Hi, I have a couple of exception properties files: exception_en.properties exception_fr.properties And I have a ResourceBundleMessageSource messageSource = new ResourceBundleMessageSource(); messageSource.setBasename("exception"); My problem is: String ...