<h2>properties</h2> Title: <%= properties.get("jcr:title") %><br /> <h2>currentPage</h2> Title: <%= currentPage.getTitle() %><br /> Name: <%= currentPage.getName() %><br /> Path: <%= currentPage.getPath() %><br /> Depth: <%= currentPage.getDepth() %><br /> <h2>currentNode</h2> Title: <%= currentNode.getProperty("jcr:title").getString() %><br /> Name: <%= currentNode.getName() %><br /> Path: <%= currentNode.getPath() %><br /> Depth: <%= currentNode.getDepth() %><br />Result :
properties
Title: vision-gcurrentPage
Title: vision-g
Name: vision-g
Path: /content/genesis/us/en/vision-g
Depth: 5currentNode
Title: vision-g
Name: jcr:content
Path: /content/genesis/us/en/vision-g/jcr:content
Depth: 6
/content/genesis/us/en/vision-g
'Develop > AEM' 카테고리의 다른 글
어플리케이션/프로젝트는 무엇입니까? (0) | 2016.10.24 |
---|---|
Adobe EXPERIENCE MANAGEMENT CQ Developer Tricks (0) | 2016.10.24 |
aem 403 Sling Post servlet (0) | 2016.10.24 |
aem decoration tags remove (0) | 2016.10.24 |
컴포넌트 다이얼로그 필드 json 데이터 연동 (0) | 2016.10.04 |