Most often there is a requirement to create menu and submenu of two levels relationship - parent and child - where the data come from database (aggregates). This sample demonstrates how to achieve this goal.
By using widget submenu, there is two lists, one for parent and one for children.
It is the most cases found in a project. You can create more level deep just by adding the submenu with the same patterns/