Best approach to show up pages at different levels in component : AEM 6.2
Hi All,
The requirement is that the user should be able to select level2/level3 pages from the authoring dialog.If the page hierarchy is something like /content/sample/en, /content/sample/fr and so on. For now, if the assumption is /content/sample/en : level 1, /content/sample/en/pagelevel2 : level 2, /content/sample/en/pagelevel2/pagelevel3 :level3. The count of level 2 and level 3 pages will not be too high for sure, say around 50.
1] What would be the dialog field[ex:pathbrowser,dropdown etc] that can be made use of in this component in the above scenario?
2] Also, what would be the best approach to go about implementing this. Have a drop down and have the servlet get list of pages and show up or some other better way.
Any thoughts/reference code/pointers will be really helpful.