Beruflich Dokumente
Kultur Dokumente
Go back to site admin, open the mens page again. (double click)
1. CRXDE Lite.
2. Maven Archetype
3. Eclipse – Plugin.
Start with CRXDE lite (IDE comes with AEM – Part of CRX repository along with User access
control, observation and indexing – JCR features).
• components
• templates
• src
• install
• clientlibs
• config
Sample:
These properties allows you to set some contract of structure of pages in you project. For example: you
have 3 templates (and corresponding pages with this templates):
• template-1: allowedChildren="[template-2]"
• template-2: allowedChildren="[template-3]"
• template-3: allowedChildren="[]"
•
Then in siteadmin, you will be able to create:
• under page with template "template-1" only pages with template "template-2",
• under page with template "template-2" only pages with template "template-3",
• under page with template "template-3" you will not be able to create any page.
Create folder page, under it right click and select Create Component, and fill above properties if
applicable for page component. And ok.
Remove the default generated script, write some thing.
https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/components-basics.html
7. AEM Page
Select the appropriate template (it will be appearing in the dialog) and press create.
<%@include file="/libs/foundation/global.jsp"%>
<cq:include script="/libs/wcm/core/components/init/init.jsp"/>
global.jsp ->
When you develop the JSP script of a AEM component, it is recommended to include the following code
at the top of the script:
<%@include file=”/libs/foundation/global.jsp”%>
• The Adobe provided global.jsp declares the Sling, CQ and JSTL taglibs and exposes the regularly
used scripting objects defined by the tag.