In what context are you asking the question? If you want the list to show up on a page the out of the box list component will do that for you.
In code you can use the pageManager object to get the Page object for the path in question, and then you can use the listChildren method to get a list of the child pages.
Won't listChildren only get me the direct children of a node? I wanted to get all leaf children below a node.
I want to get all number pages below using the parent as the path. I could probably right a recursive method using listChildren to get all leaf nodes, but I was wondering if there is an API method or a more elegate way to do this. Another solution could be to use the TagManager and have all the leave nodes tagged with a specific tag.
Rather than using tags it would be simpler to use the Query Builder Java API
Map<String, String> map = new HashMap<String, String>();
Query query = builder.createQuery(PredicateGroup.create(map), session);
SearchResult result = query.getResult();
//iterate over the hits and do whatever you need.
I don't know how that would compare from a peformance perspective to a recursively iterating over the pages in a path, but it would be easier than using the tag manager.
Will this also get the non-leaf nodes (a, b)?
Will this query also get non leaf nodes? Is there a way to specify in the query to only get pages without child pages?