활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
What should a developer do when using Templates instead of Components?
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
A Template is used to create a Page and defines which components can be used within the selected scope. A template is a hierarchy of nodes that have the same structure as the page to be created but without any actual content. Templates are built up of Components;
When creating a page you must select a template, which will be used as the basis for creating the new page. The template defines the structure of the resultant page, any initial content, and the components that can be used.
So as mentioned above, we need to have both.
Documentation:- Templates and Components
~kautuk
조회 수
답글
좋아요 수
You have to use both templates and components.
Jörg
A Template is used to create a Page and defines which components can be used within the selected scope. A template is a hierarchy of nodes that have the same structure as the page to be created but without any actual content. Templates are built up of Components;
When creating a page you must select a template, which will be used as the basis for creating the new page. The template defines the structure of the resultant page, any initial content, and the components that can be used.
So as mentioned above, we need to have both.
Documentation:- Templates and Components
~kautuk
조회 수
답글
좋아요 수
Hi,
//Adding to Kautuk.
Also see this How to create a website in AEM: Create a Fully-Featured Website (JSP) so that you will have clear idea of what are templates and components.
Hope this helps!!
Regards,
Ratna.
조회 수
Likes
답글