Granite UI
Hi,
I am currently working on a project and needs help in using the Granite UI components.
We were initially using Classic UI to perform all the activities and were able to develop the page as per the requirement of the client. Now client asks to implement Granite UI based components. I have checked on the internet alot but could not find anything that would help. I would need clarifications on the below questions.
1. What is the difference/advantage of using Granite UI over classic UI?
2. Are granite UI components to be used in dialogs only? I have found few helpx articles that use the granite UI components while creating dialogs ONLY.
3. If i wish to use granite UI components(found under libs/granite/ui/components/foundation) in my page, what is the best way to do this? I tried including the component as <cq:include path="something" resource="path-to-granite-component"> on my page. It distorts the page and does not behave as intended.
4. If they can be used on page, then what is the best way of stacking various components on my page ? do I need to create a seperate component for every OOTB granite component(i.e. create seperate component for say, a checkbox and a textfield and a submit button) and then drag them on the page ? how do we control the behavior of the components?
Any help is appreciated.
Thanks