Current Node is NULL in Components
Hi,
Am newbie to AEM. Am creating pages with component included like <cq:include path="" resourceType="/customComponent"/>. And i created dialog for getting text field and path field value.
And now am trying to access my current node in customComponent.jsp using both way PropertyIterator it = currentNode.getProperties() or resourceResolver.adaptTo(Node.class) but the currentNode throws Null Pointer Exception . Now i need to get all Properties from multi field and path field components. How can i achieve this. Please give me some solution and thanks in advance.
P.S: Am added global.jsp too.
Am got stuck up with this issue.
Thanks,
Mohamedh Nishadh