RE: Performance with jx:foreach?

2010-03-22 Thread Robby Pelssers
You probably should use a construct like this:
 
 
 
  

  

Topic
  


  

  


  
  

  

  
  




  

 
So instead of using repeaterWidget.getChildren….   Use 
 
Kind regards,
Robby Pelssers
 
From: Hallmann, Marcel [mailto:marcel.hallm...@six-group.com] 
Sent: Monday, March 22, 2010 4:21 PM
To: dev@cocoon.apache.org
Subject: Performance with jx:foreach?
 
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.: 
 
   
   
 

and filled in the bind.xml via: 
 
   
 
   
 

The resultset shall be displayed in the template.xml with jx:foreach (which is 
working, but extremly slow): 
 
 
 
   (columnId is known) 
 
   
 

I noticed, that a when I call the widget names directly e.g 
 and so on 
and do NOT use the jx:foreach, the performance is much better. 

Do you have tips for me, how I can increase the performance using jx:foreach? 

Thanks for your help!
 
Best regards
The content of this e-mail is intended only for the confidential use of the 
person addressed. 
If you are not the intended recipient, please notify the sender and delete this 
e-mail immediately.
Thank you.


Performance with jx:foreach?

2010-03-22 Thread Hallmann, Marcel
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.:

  
  


and filled in the bind.xml via:

  

  


The resultset shall be displayed in the template.xml with jx:foreach (which is 
working, but extremly slow):

  

   (columnId is known)

  


I noticed, that a when I call the widget names directly e.g
 and so on
and do NOT use the jx:foreach, the performance is much better.

Do you have tips for me, how I can increase the performance using jx:foreach?

Thanks for your help!

Best regards

The content of this e-mail is intended only for the confidential use of the 
person addressed. 
If you are not the intended recipient, please notify the sender and delete this 
e-mail immediately.
Thank you.