Robby Pelssers, AGP wrote:
<jx:set var="subGroupIterator" value="${planboard.analyzer.rootGroup.subGroupIterator(planboard.projectGroupRule)}"/>

<jx:forEach var="projectGroup" items="{subGroupIterator}">

  <jx:set value="${java.lang.System.err.println(projectGroup)}"/>

</jx:forEach>

A print of SubGroupIterator results in [EMAIL PROTECTED] A print of projectGroup results in org.apache.cocoon.generation.JXTemplateGenerator$JXTExpression@ Anybody who has an explanation?? And solution for my problem :-) PS. Even when I don't use the <jx:set var = .../> construction, but directly <jx:forEach var="projectGroup" items="{planboard.analyzer.rootGroup.subGroupIterator(planboard.projectGroupRule)}">
</jx:forEach>
the problem remains the same.


Not sure what's happening, but I have a couple questions:

1) Which version of JXTemplateGenerator are you using? The main one in the core distribution or the new-jx version from the 'template' block?

2) I assume it's a typo, but are you omitting the '$' from the start of your items="" expression?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to