Hi Dian, dian wrote:
I create sub menu control-1 in sub menu control , but when I run my web menu still only view sub menu control, sub menu control-1 can't display how to display that sub menu?
Click's Menu control is a two-level menu. So there is a root menu and its children. If you want to nest it further to a three or four level menu you need to adapt the Velocity macro.vm and menu.css.
Alternatively you can use the Menu[1][2] from ClickClick (see the first screenshot[3]) which supports up to four nested levels. It also supports rendering both vertical and horizontal menus. Note that this menu does not work with menu.xml, you need to define the menu's programmatically. See this example[4].
Hope this helps. kind regards bob [1]:http://code.google.com/p/clickclick/source/browse/trunk/clickclick/core/src/net/sf/clickclick/control/menu [2]:http://code.google.com/p/clickclick/source/browse/trunk/clickclick/core/src/META-INF/web/clickclick/core/menu [3]:http://code.google.com/p/clickclick/ [4]:http://code.google.com/p/clickclick/source/browse/trunk/clickclick/core-examples/src/net/sf/clickclick/examples/nav/MenuBuilder.java
