wb.initWithDomReady("Stack", stack.resolveWidgetVar(), clientId, "stack")
.attr("openSpeed", stack.getOpenSpeed())
.attr("closeSpeed", stack.getCloseSpeed())
.attr("expanded", stack.isExpanded(), false);
wb.finish();
}
protected void encodeMarkup(FacesContext context, AbstractMenu menu) throws IOException {
ResponseWriter writer = context.getResponseWriter();
Stack stack = (Stack) menu;