cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Portier <...@outerthought.org>
Subject Re: Multivaluefield - getting values in JXTemplate?
Date Mon, 21 Jun 2004 14:37:02 GMT


H.vanderLinden@MI.unimaas.nl wrote:


>>>
>>>  <jx:forEach var="thisTheme" items="theme">
>>>    <li>A Selection: ${atheme}</li>
>>>  </jx:forEach>
>>>    
>>>  <jx:forEach var="thisTheme" items="theme">
>>
>>                                        ^^^^^ shouldn't this be an 
>>expression (jexl or jxpath) that returns the array rather 
>>then a string?
> 
> 
> 
> jexl/jxpath supports Map and List and arrays.
> 

argh, my explanation was really clumbsy

what I tried to say was that @items should have as a value
- an expression, ie: "${theme}" or "#{theme}"
- and not a string:  "theme"

> Bye, Helma
> 

Thx for completing on the possible datatypes!

-marc=
-- 
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
mpo@outerthought.org                              mpo@apache.org

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


Mime
View raw message