-
1. Re: Problem loading a page with More than 50 Fields
luxspes Jul 23, 2008 3:41 PM (in response to rmuruga)It is hard to tell without taking a look at your page... can you post its xhtml or a screenshot? (you can not attach images in this forum so would have to post the screenshot somewhere else and link it here)
Are all those 50 fields plain simple input boxes? or are they SelectOne and SelectMany controls that make queries to the database?
Does it take 4 minutes to load with data? or are all fields empty? it is a form to save data? or to make searches?
The more specific you are in your description of you page, the easier for someone to help you.
Regards,
-
2. Re: Problem loading a page with More than 50 Fields
rmuruga Jul 23, 2008 7:31 PM (in response to rmuruga)Hi,
Thanks for the Reply, I have some textfields and 6 dropDown list in my page, which is taking data from the same table same column, I have tested for the query execution time also, its executing only once and iterating for each and every dropDown list. No clue how to solve this issue.
SOON WILL POST MY XHTML or SCREENSHOT HEREThanks
Muruga -
3. Re: Problem loading a page with More than 50 Fields
infinity2heaven Jul 23, 2008 8:50 PM (in response to rmuruga)1) post your xhmtl.
2) Add statistics to your java code first and see long the queries are takingIf 2) is much less then it must be your UI rendering. I had same problems and realised that some of the richfaces components are horrendous. Like the rich:calendar. I removed that component and it took from 14 secs to 2 secs. Also richfaces performs really bad when it comes to zipping css or caching static resources, had to write my custom filter for the same