I'm trying to output a row of a table and I need a diferent format. There is a way to use a function to format the output in jsf?

On 1/3/06, Simon Kitching <[EMAIL PROTECTED] > wrote:
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




--
Vladimir M Coutinho

Reply via email to