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

which one is latest AEM foundation form fields for AEM 6.3 touch UI dialog

Avatar

Level 6

Looking at the AEM 6.3, creating a touch ui dialog, you can use either anything under the

/libs/granite/ui/components/foundation/form

or

/libs/granite/ui/components/coral/foundation/form

Just wonder which one we should use.

Also in the /libs/granite/ui/components/foundation/form, it has the radio group and radio and under the /libs/granite/ui/components/coral/foundation/form, it has only radio group without radio, so how the radio works under the coral?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Reason i pointed you to that doc was to look at the section where we create the Touch UI Dialog.

See this section --

dialog3333.png

BTW -- we have the Sling Model article on our TODO list.

View solution in original post

6 Replies

Avatar

Level 6

This example still uses the WCMUsePojo API, not sling models.

I just look at the we.retail and core, seems they all use the coral one.

Can you please confirm?

Thanks.

Avatar

Correct answer by
Level 10

Reason i pointed you to that doc was to look at the section where we create the Touch UI Dialog.

See this section --

dialog3333.png

BTW -- we have the Sling Model article on our TODO list.

Avatar

Level 6

seems, the image you posted here still use the one without coral.

/libs/granite/ui/components/foundation/form

vs.

/libs/granite/ui/components/coral/foundation/form

They are very similar except one with coral before the foundation.

The we.retail example and adobe AEM 6.3 core components under /apps are using the coral.

I will go with coral unless Adobe changes back to the version without coral.

Thanks.

Avatar

Level 2

Hi all,

Does this mean Coral is preferred over the one without coral ?

Regards,

/s

Avatar

Level 10

Yes, use the one with coral

/libs/granite/ui/components/coral/foundation/form