On Mon, 2006-01-02 at 15:41 -0300, Vladimir Coutinho wrote: > I'm trying to use a function to format the text of the outputText: > <h:outputText > value="#{util.text.FormatText.formatCNPJ_CPF(c.CNPJ_CPF)}"/> > > But I'm having the following error: > > javax.servlet.ServletException: Invalid expression: > '${util.text.FormatText.formatCNPJ_CPF(c.CNPJ_CPF)}'
Yep, that's an invalid EL expression. EL doesn't support passing parameters. Why do you want to do this? Are you trying to output data in a row of a table, or perhaps you are trying to use c:forEach? Regards, Simon