public static boolean isComposite(UIComponent component) { return UIComponent.isCompositeComponent(component); }
if (UIComponent.isCompositeComponent(parent)) { boolean tagApplied = false; if (parent instanceof ClientBehaviorHolder) {
if (!UIComponent.isCompositeComponent(source)) { compositeParent = UIComponent.getCompositeComponentParent(source);
step)); if (isIndexAvailable()) { if (!UIComponent.isCompositeComponent(source)) { compositeParent = UIComponent .getCompositeComponentParent(source);
private boolean _isCompositeComponent() { //moved to the static method return UIComponent.isCompositeComponent(this); }
public boolean push(UIComponent compositeComponent) { if (compositeComponent != null) { assert (UIComponent.isCompositeComponent(compositeComponent)); Stack<UIComponent> s = getStack(true); s.push(compositeComponent); return true; } return false; }
private static UIComponent getCompositeParent(UIComponent targetComponent) { if (!UIComponent.isCompositeComponent(targetComponent)) { return UIComponent.getCompositeComponentParent(targetComponent); } return null; } }
@Override public boolean push(UIComponent compositeComponent) { if (compositeComponent != null) { assert (UIComponent.isCompositeComponent(compositeComponent)); Stack<UIComponent> s = getStack(true); s.push(compositeComponent); return true; } return false; }
private static UIComponent getCompositeParent(UIComponent targetComponent) { if (!UIComponent.isCompositeComponent(targetComponent)) { return UIComponent.getCompositeComponentParent(targetComponent); } return null; } }
@Override public boolean push(UIComponent compositeComponent) { if (compositeComponent != null) { assert (UIComponent.isCompositeComponent(compositeComponent)); Stack<UIComponent> s = getStack(true); s.push(compositeComponent); return true; } return false; }
@Override public boolean push(UIComponent compositeComponent) { if (compositeComponent != null) { assert (UIComponent.isCompositeComponent(compositeComponent)); Stack<UIComponent> s = getStack(true); s.push(compositeComponent); return true; } return false; }
private static UIComponent getCompositeParent(UIComponent targetComponent) { if (!UIComponent.isCompositeComponent(targetComponent)) { return UIComponent.getCompositeComponentParent(targetComponent); } return null; } }
public MojarraProcessTreeHandler handleBefore(FacesContext context, UIComponent component) { // For correct evaluation of #{cc.XXX} binding expressions this.stackManager = CompositeComponentStackManager.getManager(context); if (UIComponent.isCompositeComponent(component)) { this.pushed = stackManager.push(component, CompositeComponentStackManager.StackType.TreeCreation); } return this; }
public MojarraProcessTreeHandler handleBefore(FacesContext context, UIComponent component) { // For correct evaluation of #{cc.XXX} binding expressions this.stackManager = CompositeComponentStackManager.getManager(context); if (UIComponent.isCompositeComponent(component)) { this.pushed = stackManager.push(component, CompositeComponentStackManager.StackType.TreeCreation); } return this; }
protected boolean pushComponentToEL(FaceletContext ctx, UIComponent c, CompositeComponentStackManager ccStackManager) { c.pushComponentToEL(ctx.getFacesContext(), c); boolean compcompPushed = false; if (UIComponent.isCompositeComponent(c)) { compcompPushed = ccStackManager.push(c, TreeCreation); } return compcompPushed; }
@Override public void renderChildren(FacesContext facesContext, UIComponent component) throws IOException { AbstractContextMenu contextMenu = (AbstractContextMenu) component; for (UIComponent child : contextMenu.getChildren()) { if (child.isRendered() && (child instanceof AbstractMenuGroup || child instanceof AbstractMenuItem || child instanceof AbstractMenuSeparator || UIComponent.isCompositeComponent(child))) { child.encodeAll(facesContext); } } }
protected boolean pushComponentToEL(FaceletContext ctx, UIComponent c, CompositeComponentStackManager ccStackManager) { c.pushComponentToEL(ctx.getFacesContext(), c); boolean compcompPushed = false; if (UIComponent.isCompositeComponent(c)) { compcompPushed = ccStackManager.push(c, TreeCreation); } return compcompPushed; }
protected boolean pushComponentToEL(FaceletContext ctx, UIComponent c, CompositeComponentStackManager ccStackManager) { c.pushComponentToEL(ctx.getFacesContext(), c); boolean compcompPushed = false; if (UIComponent.isCompositeComponent(c)) { compcompPushed = ccStackManager.push(c, TreeCreation); } return compcompPushed; }
@Override public void renderChildren(FacesContext facesContext, UIComponent component) throws IOException { AbstractDropDownMenu dropDownMenu = (AbstractDropDownMenu) component; for (UIComponent child : dropDownMenu.getChildren()) { if (child.isRendered() && (child instanceof AbstractMenuGroup || child instanceof AbstractMenuItem || child instanceof AbstractMenuSeparator || UIComponent.isCompositeComponent(child))) { child.encodeAll(facesContext); } } }
protected boolean pushComponentToEL(FaceletContext ctx, UIComponent c, CompositeComponentStackManager ccStackManager) { c.pushComponentToEL(ctx.getFacesContext(), c); boolean compcompPushed = false; if (UIComponent.isCompositeComponent(c)) { compcompPushed = ccStackManager.push(c, TreeCreation); } return compcompPushed; }