users@woodstock.java.net

Perfomance problem with Woodstock

From: Alex <evilhare_at_yandex.ru>
Date: Thu, 17 Jul 2008 18:53:55 +0400

Hi! We have moved our project from Sun Creator + Basic Visual Web Components to Netbeans 6.1 + Woodstock Components (using automatic converter). So it is very annoying decrease of the perfomance, for example table with 50 rows & 10 cols is rendered about 3 seconds, at first it is displayed collapsed without data, and after it it is slowly populated with components (labels, textfields). Old Basic Components from Sun Creator were much more faster.

I've looked in HTML sourse, and for each components there is no direct HTML tag (lite <input> for textField), there is something like this:

<script type="text/javascript">webui.suntheme4_2.widget.common._createWidget('_form1:table1:tableRowGroup1:35:tableColumn10:staticText10',{"widgetType":"webui.suntheme4_2.widget.staticText","value":"251","visible":true,"escape":false,"id":"form1:table1:tableRowGroup1:35:tableColumn10:staticText10"});</script>

for each component! For example, if I have table 50*10 with 2 components in each row is corresponds to 1000 calls of JS function!!! Why did developers do so strange (for me) thing? Why not to transfer JSF tags to HTML tags without JS calls?

Is it possible to avoid this huge number of JS scripts?