}
private void getChildrenToLeftAndRight(FacesContext context, UIComponent component,
final List<UIComponent> childrenToTheLeft, final List<UIComponent> childrenToTheRight) {
AbstractToolbar toolbar = (AbstractToolbar) component;
List<UIComponent> children = toolbar.getChildren();
if (children != null) {
for (UIComponent child : children) {
if (child.isRendered()) {
if (child instanceof AbstractToolbarGroup) {
AbstractToolbarGroup group = (AbstractToolbarGroup) child;