3 您可以使用包含菜單組件,例如許多JSF組件集之一 ICEfaces的:http://component-showcase.icefaces.org/component-showcase/showcase.iface 的RichFaces:http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=dropDownMenu&tab=usage PrimeFaces:http://www.primefaces.org/showcase/ui/menu.jsf 隨着JSF2,它是相當容易地創建自己的菜單組件,如果你知道一點HTML和JavaScript 。 來源 2011-04-17 08:19:44