@Attribute
public abstract String getExpandMode();
public void broadcast(FacesEvent event) throws AbortProcessingException {
if (event instanceof CollapsibleSubTableToggleEvent) {
CollapsibleSubTableToggleEvent toggleEvent = (CollapsibleSubTableToggleEvent) event;
boolean newValue = toggleEvent.isExpanded();
getStateHelper().put(PropertyKeys.expanded, newValue);
FacesContext facesContext = getFacesContext();
ELContext elContext = facesContext.getELContext();
ValueExpression valueExpression = getValueExpression(PropertyKeys.expanded.toString());
if (valueExpression != null && !valueExpression.isReadOnly(elContext)) {
valueExpression.setValue(elContext, newValue);
}
if (getFacesContext().getPartialViewContext().isAjaxRequest()) {
String render = resolveClientId(facesContext, this, BODY);
getFacesContext().getPartialViewContext().getRenderIds().add(render);
String togglerId = toggleEvent.getTogglerId();
if (togglerId != null) {
getFacesContext().getPartialViewContext().getRenderIds().add(togglerId);
}
}
}