


Hi Guys ,
I'm just trying out a use case in CQ 5. 6 and came across a requirement where a page component backing a template should directly embeed some components like breadcrumb, logo , form etc . I'm able to easily embeed custom navigation or some OOTB components in my jsp using .
<cq:include path = "breadcrumb" resourceType="foundation/components/breadcrumb"/> or <cq:include path = "breadcrumb" resourceType="foundation/components/image"/>
But to embeed OOTB form component in a similar what resourceType should I be using ? Normally we can drag n drop the form component from parsys , but I'm working on a use case where form component come's pre populated for the author on a page (with formStart and formEnd ) . The author can then configure it by adding some components in between formstart and formend .
Thanks in advance for your help
regards
Views
Replies
Sign in to like this content
Total Likes
Just and update on the problem I forgot to post earlier . If in my script I try to use resourceTypes separately for formStart and formEnd as below , it just shows up ' formStart' component .
<cq:include path = "parContent" resourceType="foundation/components/form/start"/>
<cq:include path = "parContent" resourceType="foundation/components/form/end"/>
If I remove the resourceType for formStart , it then shows formEnd component as well .
What resourceType should I be using so that I can get the same behaviour for the form component , when we drag n drop from side kick .
regards
Views
Replies
Sign in to like this content
Total Likes