cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Java objects in JX templates
Date Fri, 27 Jan 2006 11:00:13 GMT
Our docs [1] state that something like:

  <jx:forEach var="${var}"
          items="${java.util.StringTokenizer(items, delims)}">
   </jx:forEach>

should work. However, that doesn't seem to be the case, at least in  
2.1.8 while it apparently worked before. I did a few more tests and  
discovered that even simple cases like ${java.util.Date()} produce no  
output and no error message. This even if I put "Packages." in front  
of the package name. Is this a bug or what?

	Ugo

[1] http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html


-- 
Ugo Cei
Tech Blog: http://agylen.com/
Open Source Zone: http://oszone.org/



Mime
View raw message