if (hasMenu(uiComponent)) {
NodeMenuNav nodeMenuNav = NodeMenuNavFactory.getNodeMenuNav(uiComponent);
RenderKit renderKit = facesContext.getRenderKit();
Renderer nodeMenuNavRenderer = renderKit.getRenderer(nodeMenuNav.getFamily(),
nodeMenuNav.getRendererType());
nodeMenuNavRenderer.decode(facesContext, (UIComponent) nodeMenuNav);
}
else {
super.decode(facesContext, uiComponent);
}
}