cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Creating Java objects in JX templates with JEXL?
Date Tue, 10 May 2005 18:51:00 GMT
Jochen Kuhnle wrote:
> Leszek Gawron <lgawron@apache.org> wrote on 09.04.2005 08:06:53:
> 
> 
>>Mark Lundquist wrote:
>>
>><jx:set var="map" value="${java.util.HashMap()}"/>
>><jx:set var="myBean" value="${Packages.com.mycompany.MyBean(1,2)}"/>
> 
> 
> Hmm, the JXTemplateGenerator from Cocoon 2.1.8-dev evaluates these 
> expressions as null. Is this a bug, or are the expressions wrong?
Are you using jxtg from flow or as a separate generator? It won't 
probably work for a separate generator. It will if you switch to 2.2-dev

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message