Examples of invokeOnComponent()


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

  private static boolean invokeOnComponentFacetsAndChildren(
      FacesContext context, UIComponent component, String clientId, ContextCallback callback) {
    for (java.util.Iterator<UIComponent> it = component.getFacetsAndChildren(); it.hasNext();) {
      UIComponent child = it.next();

      if (child.invokeOnComponent(context, clientId, callback)) {
        return true;
      }
    }
    return false;
  }
View Full Code Here

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

                        {
                            log.warn("Unable to locate facet with the name: " + node.getType());
                            continue;
                        }
                       
                        returnValue = facet.invokeOnComponent(context, baseClientId, callback);
                    }
                }
                finally
                {
                    setNodeId(oldNodeId);
View Full Code Here

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

                    if (!returnValue)
                    {
                        UIComponent detailStampRowFacet = getFacet(DETAIL_STAMP_ROW_FACET_NAME);
                        if (detailStampRowFacet != null)
                        {
                            returnValue = detailStampRowFacet.invokeOnComponent(context, clientId, callback);
                        }
                        UIComponent detailStampFacet = getFacet(DETAIL_STAMP_FACET_NAME);
                        if (detailStampFacet != null)
                        {
                            returnValue = detailStampFacet.invokeOnComponent(context, clientId, callback);
View Full Code Here

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

                            returnValue = detailStampRowFacet.invokeOnComponent(context, clientId, callback);
                        }
                        UIComponent detailStampFacet = getFacet(DETAIL_STAMP_FACET_NAME);
                        if (detailStampFacet != null)
                        {
                            returnValue = detailStampFacet.invokeOnComponent(context, clientId, callback);
                        }
                    }
                }
                finally
                {
View Full Code Here

Examples of javax.faces.component.UIViewRoot.invokeOnComponent()

               
                if (clientIdsRemoved != null)
                {
                    for (String clientId : clientIdsRemoved)
                    {
                        view.invokeOnComponent(context, clientId, new ContextCallback()
                            {
                                public void invokeContextCallback(FacesContext context,
                                        UIComponent target)
                                {
                                    if (target.getParent() != null)
View Full Code Here

Examples of javax.faces.component.UIViewRoot.invokeOnComponent()

                                    break;
                                }
                                else
                                {
                                    final String parentClientId = (String) addedState[0];
                                    view.invokeOnComponent(context, parentClientId, new ContextCallback()
                                    {
                                        public void invokeContextCallback(FacesContext context,
                                                UIComponent target)
                                        {
                                            if (addedState[1] != null)
View Full Code Here

Examples of javax.faces.component.UIViewRoot.invokeOnComponent()

                    {
                        for (String clientId : clientIdsRemoved)
                        {
                            if (!idsRemovedSet.contains(clientId))
                            {
                                view.invokeOnComponent(context, clientId, new ContextCallback()
                                    {
                                        public void invokeContextCallback(FacesContext context,
                                                UIComponent target)
                                        {
                                            if (target.getParent() != null)
View Full Code Here

Examples of javax.faces.component.UIViewRoot.invokeOnComponent()

                                        break;
                                    }
                                    else
                                    {
                                        final String parentClientId = (String) addedState[0];
                                        view.invokeOnComponent(context, parentClientId, new ContextCallback()
                                        {
                                            public void invokeContextCallback(FacesContext context,
                                                    UIComponent target)
                                            {
                                                if (addedState[1] != null)
View Full Code Here

Examples of javax.faces.component.UIViewRoot.invokeOnComponent()

                    {
                        for (String clientId : clientIdsRemoved)
                        {
                            if (!idsRemovedSet.contains(clientId))
                            {
                                view.invokeOnComponent(context, clientId, new ContextCallback()
                                    {
                                        public void invokeContextCallback(FacesContext context,
                                                UIComponent target)
                                        {
                                            if (target.getParent() != null)
View Full Code Here

Examples of javax.faces.component.UIViewRoot.invokeOnComponent()

                                        break;
                                    }
                                    else
                                    {
                                        final String parentClientId = (String) addedState[0];
                                        view.invokeOnComponent(context, parentClientId, new ContextCallback()
                                        {
                                            public void invokeContextCallback(FacesContext context,
                                                    UIComponent target)
                                            {
                                                if (addedState[1] != null)
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.