In my website I have a p:menu with multiple p:submenu
, one of them has on its label a special character (&). I've already tried encoding the characters &
and &
, but without success. I did also override the label with a facet, but the label wasn't rendered by the browser:
<f:facet name="label">
<h:outputText escape="false" value="#{lang['megamenu.phoneandmessaging']}"/>
</f:facet>
To finalize, the p:submenu
nor p:menu
doesn't have any option to escape the characters, e.g escape="false"
.
This is a snippet of my menu:
<p:menu expanded="true">
<p:submenu label="{lang['megamenu.phoneandmessaging']}"
expanded="true">
.....
</p:submenu>
</p:menu>