Difference b/w Granite UI Components based on Coral UI 2 and Coral UI 3
Given the fact that we have two sets of Granite UI components based on Coral UI2 and Coral UI3, below are the differences mentioned per Adobe documentation.
| Coral UI2 Components Path | /libs/granite/ui/components/foundation/* |
| Coral UI3 Components Path | /libs/granite/ui/components/coral/foundation/* |
| Coral UI2 Clientlibs | granite.ui.foundation, granite.ui.foundation.admin, coralui2 |
| Coral UI3 Clientlibs | granite.ui.coral.foundation, coralui3 |
- Coral UI 3 based components will not have layout concept. Replacement/alternative being direct standard component for simplicity.
- While creating touch UI dialog, we create a node named "layout" with resourceType being the layouts from the path "granite/ui/components/foundation/layouts/*"
- Eg: Coral UI 2: if layout resourceType used is granite/ui/components/foundation/layouts/tabs, equivalent Coral UI 3, granite/ui/components/coral/foundation/tabs.
- section component(granite/ui/components/foundation/section)that we use to define for each of the tabs has been replaced with container component(granite/ui/components/coral/foundation/container)
- $.validator which we were using for validation before is now been replaced with foundation-validation
- Common attributes (like class, title, id) are strictly implemented.(this is more to the implementation perspective - retrieving logic of these common attributes. The same can be evident by comparing any particular component of both sets, say textfield available in /libs/granite/ui/components/foundation/textfield/render.jsp and /libs/granite/ui/components/coral/foundation/textfield/render.jsp
- Few similar set of components has been removed. List of components changed/removed has been mentioned here.
In-depth understanding/explanation of first 3 difference with example will be mentioned in separate post.
good one
ReplyDeleteThanks for sharing this useful & informative article. Would request you to pen some article on Best Adobe Analytics Training
ReplyDeleteThank you for sharing an amazing & wonderful blog. active passive Components
ReplyDeleteI recently visited Ambica Enterprises' quarry, and I was impressed by their dedication to responsible mining practices. Their efforts to minimize environmental impact and support local communities are truly commendable. It's great to see a company with such a strong commitment to sustainability. Also check: - South black granite
ReplyDeleteExcellent post! Stress relief is key to a balanced lifestyle. For more creative and fun ways to unplug, check out our guide on Best Offline Activities for Stress Relief!
ReplyDeleteWell-explained! Want to get a high band in IELTS? Take this IELTS Reading Practice Test and start practicing!
ReplyDeleteGreat post! I found myself nodding along with several of your points. Well articulated!
ReplyDeleteDiscover how Mindful Travel Art can deepen your connection to places. Explore our starter guide.