Wednesday, May 29, 2013

Difference between jsp include, cq include and sling include

Refer these links:

http://dev.day.com/content/ddc/blog/2010/09/crx_gems_using_slin.html

http://helpx.adobe.com/cq/kb/CQIncludes.html

  • When developing AEM components, Adobe recommends that you use <cq:include>.

  • <cq:include> allows you to directly include script files by their name when using the script attribute. This takes component and resource type inheritance into account, and is often simpler than strict adherence to Sling's script resolution using selectors and extensions.

No comments:

Post a Comment