public void rendererVisit(Menu menu) throws RendererException {
// For menus, we render only the root menu.
if (menu.getContainer() == null) {
// process the root menu
MenuBuffer menuBuffer = locator.getMenuBuffer(menu);
DOMOutputBuffer buffer
= (DOMOutputBuffer) menuBuffer.getOutputBuffer();
// Open a paragraph for the select to go in.
// According to openwave style guide this should be nowrap.
// todo: only set whitespace if it was not specified by user
// currently we cannot tell, fix when VBM:2005092701 is fixed