Hi there,
I do have a problem with my cocoon 2.1.9 application:
In flowscript I call a Java method which query a SQL statement.
In the model.xml the widgets for the result table are defined via e.g.:
<fd:output id="name">
<fd:datatype base="string">
</fd:datatype>
</fd:output>
and filled in the bind.xml via:
<fb:repeater id="list" parent-path="." row-path="elements" direction="load">
<fb:on-bind>
<fb:value id="name" path="name"
direction="load"/>
</fb:on-bind>
</fb:repeater>
The resultset shall be displayed in the template.xml with jx:foreach (which
is working, but extremly slow):
<ft:repeater-widget id="list">
<fi:items>
<jx:forEach var='column' items="${widget.getChildren()}">
<td><ft:widget id="${columnId}"/></td> (columnId is known)
</jx:forEach>
</fi:items>
</ft:repeater-widget>
I noticed, that a when I call the widget names directly e.g
<td><ft:widget id="name"/></td> and so on
and do NOT use the jx:foreach, the performance is much better.
Does anybody has tips for me, how I can increase the performance using
jx:foreach?
Thanks for your help!
--
View this message in context:
http://old.nabble.com/Performance-problem-when-using-jx%3AforEach-tp27987702p27987702.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]