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.