i want to override the default password match error message for primefaces, so here's what i did:
under src/main/resources: i created a properties file called messages.properties and added the following keys/values to it:
primefaces.password.INVALID_MATCH = Passwords doesn't match
primefaces.password.INVALID_MATCH_detail = Passwords doesn't match
and in the faces-config, i added the following:
<application>
<locale-config>
<default-locale>en</default-locale>
</locale-config>
<message-bundle>
resources.messages
</message-bundle>
but it still prints the default message, please advise.
src/main/resourcessuggests that you're using Maven. I don't do Maven, but does this really ultimately end up in theresourcespackage in the classpath root (the/WEB-INF/classesfolder of the WAR), as expected by your<message-bundle>configuration? If it didn't, then you've there the cause of the problem: it simply can't find the message bundle file. - BalusC