The method is missing the tabindex parameter.
The harmony-theme-1.0.3.jar contains also the HarmonyMenuRenderer encodeMenuItem method without tabindex parameter.
public abstract class BaseMenuRenderer extends OutcomeTargetRenderer
Code: Select all
protected void encodeMenuItem(FacesContext context, AbstractMenu menu, MenuItem menuitem, String tabindex) throws IOException {
ResponseWriter writer = context.getResponseWriter();
String title = menuitem.getTitle();
String style = menuitem.getStyle();
boolean disabled = menuitem.isDisabled();
String rel = menuitem.getRel();
writer.startElement("a", null);
writer.writeAttribute("tabindex", tabindex, null);
Code: Select all
@Override
protected void encodeMenuItem(FacesContext context, AbstractMenu menu, MenuItem menuitem) throws IOException {
ResponseWriter writer = context.getResponseWriter();
String title = menuitem.getTitle();
boolean disabled = menuitem.isDisabled();
Object value = menuitem.getValue();
String style = menuitem.getStyle();
String styleClass = menuitem.getStyleClass();
writer.startElement("a", null);
if(title != null) writer.writeAttribute("title", title, null);