I have the message field in an Editor that after inclusion is shown in a dataTable.
<rich:editor value="#{solicitacaoImpressaoBean.solicitacao.mensagem}" toolbar="full" style="margin-bottom: 1em">
DataTable:
<rich:dataTable id="tabelaSolicitacoes" value="#{solicitacaoImpressaoBean.peg.solicitacoes}" var="solicitacao"
iterationStatusVar="it" rowClasses="linhaPar, linhaImpar"
style="width: 100%;"
>
<rich:column style="text-align: center;">
<f:facet name="header">Data</f:facet>
<h:outputText value="#{solicitacao.dataEnvio}" converter="dataHoraConverter" />
</rich:column>
<rich:column style="text-align: center;">
<f:facet name="header">Siape do Cadastrador</f:facet>
<h:outputText value="#{solicitacao.siapeCadastrador.siape}" />
</rich:column>
<rich:column style="text-align: center;">
<f:facet name="header">Assunto</f:facet>
<h:outputText value="#{solicitacao.assunto}" />
</rich:column>
<rich:column style="text-align: center;">
<f:facet name="header">Mensagem</f:facet>
<h:outputText value="#{solicitacao.mensagem}" />
</rich:column>
The problem is that the editor inserts the code of the message in html and after included it will show the inserted html.
Ex of the message field: <h1>Teste de inclusao na <span style="font-family:arial,helvetica,sans-serif">Mensagem Enviar Solicitação</span> para a peg 4415</h1>
Include Test in Message Send Request to peg 4415
How can I display this content in the dataTable the same way I wrote it in the Editor, ie without the html tags?