- JBoss 7.2
- Java 14
- Mojarra 2.3.5
- PF10
I have a basic web page where the messages.properties works well when I use a h:ouptut but it removes apostrophes. I guess that must be related with encoding but not sure how to fix it.
Message.property (UTF8)-> error=S'han d'establir dates d'inici i final de l'acció formativa.
Message on xhtml -> S'han d'establir dates d'inici i final de l'acció formativa.
Message on p:growl or p:messages -> Shan destablir dates dinici i final de lacció formativa.
Code: Select all
<ui:fragment xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<!-- Missatges d'usuari -->
<h:form id="frmMessages">
<p:outputPanel id="pnlMessages">
<p:growl id="growl" showDetail="true" showSummary="true" life="9000" severity="info,warning,error,fatal" >
<p:autoUpdate/>
</p:growl>
<p:messages id="msgs" showDetail="true" showSummary="true" closable="true" severity="error,fatal"/>
</p:outputPanel>
</h:form>
</ui:fragment>