In Click a applications menu is in the configuration file /WEB-INF/menu.xml.

This JavaScript drop down menu is rendered using the Velocity Macro writeMenu(), defined in macro.vm.

#writeMenu($rootMenu) 
The example menu pages all extend MenuPage which defines a "rootMenu" control.
public class MenuPage extends BorderedPage {

     public Menu rootMenu = Menu.getRootMenu();

}