Expand my Community achievements bar.

SOLVED

Need for custom xtype in this particular scenario

Avatar

Level 9

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10
  • 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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10
  • 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