Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Is it possible to extend granite ui type/components?

Avatar

Level 3

I would like to extend the multifield component (/libs/granite/ui/components/foundation/form/multifield) in other to add a maximum items limit.

Do you have any documentation or example about extending these components? 

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi murilod74686477 

As mentioned by Scott, you can go through this reference article:-

Link:- http://experience-aem.blogspot.it/2015/07/aem-61-sling-resource-merger-extending-touchui-foundation-...

//This article is on extending Touch UI foundation component cq:dialog to add more input widgets.

 

Another Reference article (less important)

Link:- http://experience-aem.blogspot.it/2015/03/aem-6-sp2-touch-ui-coral-ui-nested-multi-multifield.html

 Link:- http://stackoverflow.com/questions/31042885/how-to-create-a-custom-multifield-for-touch-ui-in-cqaem6

 

I hope this would help you.

 

Thanks and regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

3 Replies

Avatar

Level 2

Yes - you can extend TOuch UI components. I am looking to see if we have some articles on this. 

Avatar

Level 2

We do not have an article on this exact use case - but our Touch UI expert replied:

You need a validator on the widget something like

http://experience-aem.blogspot.com/2015/08/aem-61-support-required-property-on-richtext-editor-rte-o...

Hope this helps. 

Avatar

Correct answer by
Administrator

Hi murilod74686477 

As mentioned by Scott, you can go through this reference article:-

Link:- http://experience-aem.blogspot.it/2015/07/aem-61-sling-resource-merger-extending-touchui-foundation-...

//This article is on extending Touch UI foundation component cq:dialog to add more input widgets.

 

Another Reference article (less important)

Link:- http://experience-aem.blogspot.it/2015/03/aem-6-sp2-touch-ui-coral-ui-nested-multi-multifield.html

 Link:- http://stackoverflow.com/questions/31042885/how-to-create-a-custom-multifield-for-touch-ui-in-cqaem6

 

I hope this would help you.

 

Thanks and regards

Kautuk Sahni



Kautuk Sahni