Expand my Community achievements bar.

SOLVED

Maximum widgets allowed [Adobe CQ 5.5]?

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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