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

In AEM 6.4.3, resource-type not found in coral3

Avatar

Level 4

We are on 6.4.3, and don't see the coral3 replacement for following resource types. Is there any reference to these?

1.  cq/gui/components/authoring/dialog/note .

2.  granite/ui/components/foundation/section

3. /libs/granite/ui/components/foundation/layouts/tabs  - We don't even see layout folder inside "/libs/granite/ui/components/coral/foundation"

1 Accepted Solution

Avatar

Correct answer by
Level 10

Refer the below link. You can find the explanation here --

Migration Guide to CoralUI 3-based — Granite UI 1.0 documentation

The new set will not use the layout concept anymore. This is to increase the simplicity of the understanding of Granite UI. Each layout component thus becomes a standard component.

The layout mechanic itself is still there for other to use if needed.

Before:

+ mytabs - sling:resourceType = "granite/ui/components/foundation/container" + layout - sling:resourceType = "granite/ui/components/foundation/layouts/tabs" + items + tab1 - jcr:title = "Tab 1" - sling:resourceType = "granite/ui/components/foundation/container" + tab2 - jcr:title = "Tab 2" - sling:resourceType = "granite/ui/components/foundation/container" + layoutConfig - active = true

After:

+ mytabs - sling:resourceType = "granite/ui/components/coral/foundation/tabs" + items + tab1 - jcr:title = "Tab 1" - sling:resourceType = "granite/ui/components/coral/foundation/container" + tab2 - jcr:title = "Tab 2" - sling:resourceType = "granite/ui/components/coral/foundation/container" + parentConfig - active = true

View solution in original post

6 Replies

Avatar

Correct answer by
Level 10

Refer the below link. You can find the explanation here --

Migration Guide to CoralUI 3-based — Granite UI 1.0 documentation

The new set will not use the layout concept anymore. This is to increase the simplicity of the understanding of Granite UI. Each layout component thus becomes a standard component.

The layout mechanic itself is still there for other to use if needed.

Before:

+ mytabs - sling:resourceType = "granite/ui/components/foundation/container" + layout - sling:resourceType = "granite/ui/components/foundation/layouts/tabs" + items + tab1 - jcr:title = "Tab 1" - sling:resourceType = "granite/ui/components/foundation/container" + tab2 - jcr:title = "Tab 2" - sling:resourceType = "granite/ui/components/foundation/container" + layoutConfig - active = true

After:

+ mytabs - sling:resourceType = "granite/ui/components/coral/foundation/tabs" + items + tab1 - jcr:title = "Tab 1" - sling:resourceType = "granite/ui/components/coral/foundation/container" + tab2 - jcr:title = "Tab 2" - sling:resourceType = "granite/ui/components/coral/foundation/container" + parentConfig - active = true

Avatar

Level 4

Thanks, gauravb10066713 for the documentation. But, still, I could not find coral 3 replacement for "cq/gui/components/authoring/dialog/note". Do you have any reference for this?

Avatar

Level 10

I believe that is still the same path. 'cq/gui/components/authoring/dialog' works fine with 6.4.3 

coral3 changes are under 'coral/foundation' rather than 'foundation'.

Avatar

Level 4

This "cq/gui/components/authoring/dialog/note" used to work in 6.3 and there used to be note field in dialog. But in 6.4.3, it doesn't work (note field is not shown).

Avatar

Level 10

If you are sure that it doesn't work then you may want to open a ticket for the same.

Avatar

Community Advisor

Hi,

If note resource type is not available you can use alternative heading resource type. Heading comes with different level as well. you can use level 6 for normal text like note.

Heading — Granite UI 1.0 documentation



Arun Patidar