I want to get all child pages name and its WCM path of respected.
Can eny one will provide sample code for that.
I want to create side navigation, which having parent and its child, please let me know is there any way/approach to implement this.
Please find screen shot below for side navigation, and it should be editable by author
Check out the Navigation class and related classes. This is the best way to build navigation components based on the page structure. It's possible to build it more manually by traversing for children of pages, but this class kind of rolls it all up into a use-case-specific implementation.
Here's the Javadoc:
If you want to try out the more manual, less extensible approach that doesn't use the Navigation class, this outlines how to do so: