Examples of visitTree()


Examples of javax.faces.component.UIComponent.visitTree()

                                }
                            }
                            if (visitDetailStampRow)
                            {
                                UIComponent detailStampRowFacet = getFacet(DETAIL_STAMP_ROW_FACET_NAME);
                                if (detailStampRowFacet.visitTree(context, callback))
                                {
                                    return true;
                                }
                            }
                            if (visitDetailStamp)
View Full Code Here

Examples of javax.faces.component.UIComponent.visitTree()

                                }
                            }
                            if (visitDetailStamp)
                            {
                                UIComponent detailStampFacet = getFacet(DETAIL_STAMP_FACET_NAME);
                                if (detailStampFacet.visitTree(context, callback))
                                {
                                    return true;
                                }
                            }
                            if (visitTableRow)
View Full Code Here

Examples of javax.faces.component.UIComponent.visitTree()

                                }
                            }
                            if (visitTableRow)
                            {
                                UIComponent tableRowFacet = getFacet(TABLE_ROW_FACET_NAME);
                                if (tableRowFacet.visitTree(context, callback))
                                {
                                    return true;
                                }
                            }
                        }
View Full Code Here

Examples of javax.faces.component.UIComponent.visitTree()

                            log.warn("Unable to locate facet with the name: " + node.getType());
                            continue;
                            //throw new IllegalArgumentException("Unable to locate facet with the name: " + node.getType());
                        }

                        if (facet.visitTree(context, callback))
                        {
                            return true;
                        }
                    }
                }
View Full Code Here

Examples of javax.faces.component.UIComponent.visitTree()

                        while (i <= end && _isIndexAvailable())
                        {
                            for (int j = 0, childCount = getChildCount(); j < childCount; j++)
                            {
                                UIComponent child = getChildren().get(j);
                                if (child.visitTree(context, callback))
                                {
                                    return true;
                                }
                            }
                           
View Full Code Here

Examples of javax.faces.component.UIComponent.visitTree()

                            }
                        }
                        if (visitDetailStampRow)
                        {
                            UIComponent detailStampRowFacet = getFacet(DETAIL_STAMP_ROW_FACET_NAME);
                            if (detailStampRowFacet.visitTree(context, callback))
                            {
                                return true;
                            }
                        }
                        if (visitDetailStamp)
View Full Code Here

Examples of javax.faces.component.UIComponent.visitTree()

                            }
                        }
                        if (visitDetailStamp)
                        {
                            UIComponent detailStampFacet = getFacet(DETAIL_STAMP_FACET_NAME);
                            if (detailStampFacet.visitTree(context, callback))
                            {
                                return true;
                            }
                        }
                    }
View Full Code Here

Examples of javax.faces.component.UIComponent.visitTree()

                try
                {
                    facesContext.getAttributes().put(SKIP_ITERATION_HINT, Boolean.TRUE);

                    VisitContext visitContext = VisitContext.createVisitContext(facesContext, null, VISIT_HINTS);
                    facet.visitTree(visitContext, new RefreshViewContext());
                }
                finally
                {
                    // We must remove hint in finally, because an exception can break this phase,
                    // but lifecycle can continue, if custom exception handler swallows the exception
View Full Code Here

Examples of javax.faces.component.UIComponent.visitTree()

                        }
                        else {
                            if (visitContext == null) {
                                visitContext = VisitContext.createVisitContext(context, null, ComponentUtils.VISIT_HINTS_SKIP_UNRENDERED);
                            }
                            inputFacet.visitTree(visitContext, ResetInputVisitCallback.INSTANCE);
                        }
                    }
                }
            }
        }
View Full Code Here

Examples of javax.faces.component.UIComponent.visitTree()

                                setIndex(i);
                                while (i <= end && _isIndexAvailable()) {
                                    for (int j = 0, childCount = getChildCount(); j < childCount; j++) {
                                        UIComponent child = getChildren().get(j);
                                        if (child.visitTree(context, callback)) {
                                            return true;
                                        }
                                    }

                                    _count++;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.