pageContext.popElement(this);
MenuModelBuilder builder = pageContext.getMenuBuilder();
try {
Menu menu = builder.endMenu();
// If a menu is completed (i.e. this is not nested) then need to
// process it and output against specific renderer and markup.
if (menu != null) {
// Obtain a suitable renderer