cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MarcelH <>
Subject Performance problem when using jx:forEach
Date Mon, 22 Mar 2010 15:08:01 GMT

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">

and filled in the bind.xml via:
<fb:repeater id="list" parent-path="." row-path="elements" direction="load">
    <fb:value id="name"          		       	path="name"          		   

The resultset shall be displayed in the template.xml with jx:foreach (which
is working, but extremly slow):
<ft:repeater-widget id="list">
    <jx:forEach var='column' items="${widget.getChildren()}">
      <td><ft:widget id="${columnId}"/></td> (columnId is known)

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

Thanks for your help!

View this message in context:
Sent from the Cocoon - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message