Examples of findCompositeComponentUsingLocation()


Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

        if (ve instanceof ContextualCompositeValueExpression)
        {
            FacesContext ctx = FacesContext.getCurrentInstance();
            ContextualCompositeValueExpression ccve = (ContextualCompositeValueExpression)ve;
            CompositeComponentStackManager manager = CompositeComponentStackManager.getManager(ctx);
            UIComponent cc = manager.findCompositeComponentUsingLocation(ctx, ccve.getLocation());
            // set Parent
            return cc;
        }
        return null;
  }
View Full Code Here

Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

        CompositeComponentStackManager manager =
              CompositeComponentStackManager.getManager(ctx);
        UIComponent foundCc = null;

        if (location != null) {
            foundCc = manager.findCompositeComponentUsingLocation(ctx, location);
        } else {
            // We need to obtain the Location of the source expression in order
            // to find the composite component that needs to be available within
            // the evaluation stack.
            if (source instanceof TagValueExpression) {
View Full Code Here

Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

            // to find the composite component that needs to be available within
            // the evaluation stack.
            if (source instanceof TagValueExpression) {
                ValueExpression orig = ((TagValueExpression) source).getWrapped();
                if (orig instanceof ContextualCompositeValueExpression) {
                    foundCc = manager.findCompositeComponentUsingLocation(ctx, ((ContextualCompositeValueExpression) orig).getLocation());
                }
            }
        }
        if (null == foundCc) {
            foundCc = this.cc;
View Full Code Here

Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

            if (ve instanceof ContextualCompositeValueExpression)
            {
                FacesContext ctx = FacesContext.getCurrentInstance();
                ContextualCompositeValueExpression ccve = (ContextualCompositeValueExpression)ve;
                CompositeComponentStackManager manager = CompositeComponentStackManager.getManager(ctx);
                UIComponent cc = manager.findCompositeComponentUsingLocation(ctx, ccve.getLocation());
                // set Parent
                parent = cc;
            }
            else
            {   // find parent
View Full Code Here

Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

        CompositeComponentStackManager manager =
              CompositeComponentStackManager.getManager(ctx);
        UIComponent foundCc = null;

        if (location != null) {
            foundCc = manager.findCompositeComponentUsingLocation(ctx, location);
        } else {
            // We need to obtain the Location of the source expression in order
            // to find the composite component that needs to be available within
            // the evaluation stack.
            if (source instanceof TagValueExpression) {
View Full Code Here

Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

            // to find the composite component that needs to be available within
            // the evaluation stack.
            if (source instanceof TagValueExpression) {
                ValueExpression orig = ((TagValueExpression) source).getWrapped();
                if (orig instanceof ContextualCompositeValueExpression) {
                    foundCc = manager.findCompositeComponentUsingLocation(ctx, ((ContextualCompositeValueExpression) orig).getLocation());
                }
            }
        }
        if (null == foundCc) {
            foundCc = this.cc;
View Full Code Here

Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

        CompositeComponentStackManager manager =
              CompositeComponentStackManager.getManager(ctx);
        UIComponent cc = null;

        if (location != null) {
            cc = manager.findCompositeComponentUsingLocation(ctx, location);
        } else {
            // We need to obtain the Location of the source expression in order
            // to find the composite component that needs to be available within
            // the evaluation stack.
            if (source instanceof TagValueExpression) {
View Full Code Here

Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

            // to find the composite component that needs to be available within
            // the evaluation stack.
            if (source instanceof TagValueExpression) {
                ValueExpression orig = ((TagValueExpression) source).getWrapped();
                if (orig instanceof ContextualCompositeValueExpression) {
                    cc = manager.findCompositeComponentUsingLocation(ctx, ((ContextualCompositeValueExpression) orig).getLocation());
                }
            }
        }

        return manager.push(cc);
View Full Code Here

Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

    private boolean pushCompositeComponent(FacesContext ctx) {

        CompositeComponentStackManager manager =
              CompositeComponentStackManager.getManager(ctx);
        UIComponent cc = manager.findCompositeComponentUsingLocation(ctx, location);
        return manager.push(cc);

    }

View Full Code Here

Examples of com.sun.faces.component.CompositeComponentStackManager.findCompositeComponentUsingLocation()

        CompositeComponentStackManager manager =
              CompositeComponentStackManager.getManager(ctx);
        UIComponent foundCc = null;

        if (location != null) {
            foundCc = manager.findCompositeComponentUsingLocation(ctx, location);
        } else {
            // We need to obtain the Location of the source expression in order
            // to find the composite component that needs to be available within
            // the evaluation stack.
            if (source instanceof TagValueExpression) {
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.