Maximum widgets allowed [Adobe CQ 5.5]? | Community
Skip to main content
rommel
New Participant
October 16, 2015
Solved

Maximum widgets allowed [Adobe CQ 5.5]?

  • October 16, 2015
  • 1 reply
  • 797 views

All,

 

Appreciate your time and response to my queries:

1. What is the maximum number of widgets allowed in a component or a dialog?

2. What is the impact on performance if a component has a large number of widgets? Are there any best practices recommendation with respect to this?

3. What is the query to find out the widget count in a component or a dialog?

I am using CQ 5.5.

Thanks in advance,

Rommel.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

For question 1 - according to the documentation - there is no size limit. Its a matter of building a UI that makes sense. There is no limit such as you can only place 8 widgets on a component. 

2 -For best practices - here is a good community article: http://suryakand-shinde.blogspot.ca/2011/04/cq-component-designdevelopment-best.html.

3 -  To query, you can use JCR-SQL2 to count all children of a CQ dialog. See this great resource to learn how to query using JCR-SQL2: http://docs.jboss.org/jbossdna/0.7/manuals/reference/html/jcr-query-and-search.html

Hope this helps

1 reply

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 16, 2015

For question 1 - according to the documentation - there is no size limit. Its a matter of building a UI that makes sense. There is no limit such as you can only place 8 widgets on a component. 

2 -For best practices - here is a good community article: http://suryakand-shinde.blogspot.ca/2011/04/cq-component-designdevelopment-best.html.

3 -  To query, you can use JCR-SQL2 to count all children of a CQ dialog. See this great resource to learn how to query using JCR-SQL2: http://docs.jboss.org/jbossdna/0.7/manuals/reference/html/jcr-query-and-search.html

Hope this helps