String clientId = menu.getClientId(context).replace(":", "-");
String span=null;
boolean clientIdHasBeenRendered=false;
if (!isHorizontalForm(component)) {
span = startColSpanDiv(rw, menu, menu.getClientId(context), clientIdHasBeenRendered);
<BUG>if (null != span) {
clientIdHasBeenRendered=true;</BUG>
}
}
rw.startElement("div", menu);

String clientId = menu.getClientId(context).replace(":", "-");
String span=null;
boolean clientIdHasBeenRendered=false;
if (!isHorizontalForm(component)) {
span = startColSpanDiv(rw, menu, menu.getClientId(context), clientIdHasBeenRendered);
if (null != span) {
Tooltip.generateTooltip(context, menu, rw);
clientIdHasBeenRendered=true;
}
}
rw.startElement("div", menu);
