You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johannes Becker <jo...@gmx.net> on 2005/06/20 17:43:41 UTC
[JXTemplate] problems accessing a value
Hi,
I want to iterate through a List with <jx:forEach . This List contains
Objects from a query.
The query:
SELECT t1.*, t2.somedate
FROM Table1 t1, Table2 t2
I access the data like this in JXTemplate:
<jx:forEach select="#{getTestList}">
<col1>#{id/scarr}</col1>
<!-- From now on it behaves funny -->
<fldate>#{date}</fldate>
<fldate>#{month}</fldate>
<fldate>#{year}</fldate>
I have NO problems accessing the data from t1, like in my example
#{id/scarr}.
My problem is the date from t2. I simply don't know how to access it in
one piece. I'm able to access a part of this value like this: #{date},
what returns the day consequently.
But how can I access this date in one piece?
Thanks
Jonny
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org