This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 18, 2011, 6:21 PM
6 Posts

Max number of Custom Controls in a XPage

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: Custom Controls
  • Replies: 1
Hi All,
 
While working on a web application running on Notes 7, we had found that sometimes multiple subforms on the main web form would lead to a drop in site performance. Namely the speed of the page loading.
Is there any similar constraint in Xpages? Is there a max value for the number of Custom Controls a Xpage can have, after which the performance suffers?
This is more of a doubt than an actual problem.
 
Regards,
Sayan
Aug 18, 2011, 7:51 PM
23 Posts
Re: Max number of Custom Controls in a XPage
I have found that it is not so much how many custom controls so much as what each custom control is doing that negatively impacts performance.
 
In addition I have also found that browsers cannot parse/load a very large number of nodes without either being slowed or simply not working at all.
 
So...a lot of controls on a page seems to be just fine if they are only mapped to fields.  However, if you have a custom control that has ten fields on it and half of those fields only display when the other half of those fields are selected and you are using SSJS to display those fields dynamically (which means you are using the Dojo XPage extensions vs. doing all of this client-side) and you display your custom control 500 times using a repeat control...well then you may run into serious functionality/performance issues.
 
That being said I have XPages with 10-20 non repeating custom controls (maybe more) and I have never had any problem.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal