cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice Yeh" <rice...@gmail.com>
Subject Re: Is it supported to passing parameters to a method in an jexl expression in CTemplate?
Date Fri, 08 Sep 2006 08:33:06 GMT
I have tried it but toString(Locale locale) is just NOT invoked and a null
value is returned.

Rice

On 9/8/06, Robby Pelssers, AGP <robby.pelssers@agp.nl> wrote:
>
>
>
> Why don't you just do following ?
> <fd:label>${country.toString(locale)}</fd:label>
>
> Robby
>
>
> -----Oorspronkelijk bericht-----
> *Van:* Rice Yeh [mailto:riceyeh@gmail.com]
> *Verzonden:* vrijdag 8 september 2006 8:48
> *Aan:* dev@cocoon.apache.org
> *Onderwerp:* Is it supported to passing parameters to a method in an jexl
> expression in CTemplate?
>
> Hi,
>   Is it supported to passing parameters to a method in an jexl expression
> in CTemplate. I try the following expression, it is not supported.
> Is there other way?
>
> <fd:label>${country.toString(${locale})}</fd:label>
>
>
> Regards,
> Rice
>

Mime
View raw message