There are a lot of similarities between static and dynamic menus. For example, they share the same data structure, but differ in its definition. Static menus can describe their structures completely in the
xhtml file. Dynamic menus have a pretty short entry in the
xhtml file, but a pretty long Java code in the corresponding backing bean.
The definition of the ICEfusion dynamic pull-down menu looks like this: (
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:c="http://java.sun.com/jstl/core" ...