Given my datatable below:
<p:dataTable id="tabela" var="linha" value="#{naturemb.lista}" paginator="true" rows="10" rendered="#{not empty naturemb.lista}" >
<p:column styleClass="botoesGrid">
<p:commandButton icon="ui-icon-pencil" action="#{naturemb.editar(linha.id)}" process="@this" update="cadastro,pesquisa" ajax="false"/>
<p:commandButton icon="ui-icon-trash" action="#{naturemb.excluir(linha)}" ajax="true" process="@this">
<p:confirm header="#{msg['cabecalho.apagar.registro']}" message="#{msg['apagar.registro']}" icon="ui-icon-alert"/>
</p:commandButton>
<p:confirmDialog global="true" showEffect="exploud" hideEffect="fade">
<p:commandButton value="Sim" type="button" styleClass="ui-confirmdialog-yes" icon="ui-icon-check"/>
<p:commandButton value="Não" type="button" styleClass="ui-confirmdialog-no" icon="ui-icon-close" />
</p:confirmDialog>
</p:column>
<p:column headerText="#{msg['nome']}" sortBy="#{linha.nome}" style="width:12%;">
<h:outputText value="#{linha.nome}" />
</p:column>
I am creating a method so that if there are some specific words inside the lines, they will have different formatting. How do I call the method that will do this check in <h:outputText
? Or would not it be what I call the method?