Need for custom xtype in this particular scenario | Community
Skip to main content
Level 9
November 19, 2015
Solved

Need for custom xtype in this particular scenario

  • November 19, 2015
  • 1 reply
  • 563 views

Hi All,

https://helpx.adobe.com/experience-manager/using/jstl.html

1] In this article, a custom xtype is created. So, is it something like whenever a custom xtype is created , we have to extend from CQ.form.CompositeField?

2] Also, in this particular scenario, there are fields like textfield,dropdowns which I believe are OOTB xtypes. Why is there a need to create a custom xtype?

Any thoughts on this will be helpful.

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 edubey
  • CQ.form.CompositeField  is extended when you want to create mutifield
  • AEM comes with its own xtype, While working on actual project, there will be a point where to author a particular section of page you cannot use available xtype,At that point of time you need to create custom xtype which will be combination of with existing xtypes

Take a look @ https://docs.adobe.com/docs/en/cq/5-6-1/developing/widgets/xtypes.html

1 reply

edubey
edubeyAccepted solution
Level 10
November 19, 2015
  • CQ.form.CompositeField  is extended when you want to create mutifield
  • AEM comes with its own xtype, While working on actual project, there will be a point where to author a particular section of page you cannot use available xtype,At that point of time you need to create custom xtype which will be combination of with existing xtypes

Take a look @ https://docs.adobe.com/docs/en/cq/5-6-1/developing/widgets/xtypes.html