I am creating a Hierarchical Dynamic Menu, like for a menu bar.
It creates itself according to what is read from a configuration file.
So if for example in my configuration file i have this hierarchical structure:

Vehicles
--4Wheel
----Cars
--2Wheel
----Motorcycles
----Bicycle

My Menu should look like that structure:

Products
Vehicles
--4Wheel
----Cars
--2Wheel
----Motorcycles
----Bicycle

All menu items have to be checkable...

Any good idea how to develop this dynamic menu?