cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@apache.org>
Subject Re: Creating Java objects in JX templates with JEXL?
Date Sat, 09 Apr 2005 06:06:53 GMT
Mark Lundquist wrote:
> 
> On Apr 8, 2005, at 4:43 PM, Jochen Kuhnle wrote:
> 
>> Hi, is it possible to create Java objects in JX templates using JEXL?
>> Something like <jx:set var="src" value="${new Object()}"/>?
> 
> 
> 1) I think so
> 
> 2) It sounds like a bad idea
<jx:set var="map" value="${java.util.HashMap()}"/>
<jx:set var="myBean" value="${Packages.com.mycompany.MyBean(1,2)}"/>

-- 
Leszek Gawron                                                 MobileBox
lgawron@apache.org                              http://www.mobilebox.pl

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


Mime
View raw message