c.setRenderBodyOnly(true);
item.add(c);
WicketUtils.setCssClass(item, "dropdown");
} else if (navLink instanceof DropDownMenuNavLink) {
// drop down menu
DropDownMenuNavLink reg = (DropDownMenuNavLink) navLink;
Component c = new DropDownMenu("link", linkText, reg);
c.setRenderBodyOnly(true);
item.add(c);
WicketUtils.setCssClass(item, "dropdown");
} else if (navLink instanceof PageNavLink) {