cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Is it supported to passing parameters to a method in an jexl expression in CTemplate?
Date Fri, 08 Sep 2006 08:49:12 GMT
Rice Yeh wrote:
> 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>
Form definition is a static file. Meaning this won't work. You can try 
tu do the following :

var form = new Form( "cocoon://myform" );

and provide additional pipeline which will render the proper form 
definition.

-- 
Leszek Gawron, IT Manager                          MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message