@Override public void setAttribute(String attr, Object value) { if (WidgetAttributes.SUBMENU_ACTION_ATTR.equals(attr) || WidgetAttributes.SUBMENU_DELAY_ATTR.equals(attr)) { getParentGroup().setAttribute(attr, value); } super.setAttribute(attr, value); }
@Override public Object getAttribute(String attr) { if (WidgetAttributes.SUBMENU_ACTION_ATTR.equals(attr) || WidgetAttributes.SUBMENU_DELAY_ATTR.equals(attr)) { return getParentGroup().getAttribute(attr); } return super.getAttribute(attr); }