Package org.apache.myfaces.view.facelets.el

Examples of org.apache.myfaces.view.facelets.el.LocationMethodExpression


                // to be able to resolve the right composite component (the one that was
                // created from the file the Location is pointing to) later.
                // (see MYFACES-2561 for details)
                if ((this.capabilities & EL_CC) != 0)
                {
                    methodExpression = new LocationMethodExpression(getLocation(), methodExpression);
                }
            }
           
            if (actx.getFaceletCompositionContext().isWrapTagExceptionsAsContextAware())
            {
View Full Code Here


                // to be able to resolve the right composite component (the one that was
                // created from the file the Location is pointing to) later.
                // (see MYFACES-2561 for details)
                if ((this.capabilities & EL_CC) != 0)
                {
                    methodExpression = new LocationMethodExpression(getLocation(), methodExpression,
                            actx.getFaceletCompositionContext().getCompositeComponentLevel());
                }
            }
           
               
View Full Code Here

                // to be able to resolve the right composite component (the one that was
                // created from the file the Location is pointing to) later.
                // (see MYFACES-2561 for details)
                if (CompositeComponentELUtils.isCompositeComponentExpression(this.value))
                {
                    methodExpression = new LocationMethodExpression(getLocation(), methodExpression);
                }
            }
           
            return new TagMethodExpression(this, methodExpression);
        }
View Full Code Here

    private MethodExpression reWrapMethodExpression(MethodExpression createdMethodExpression,
                                                    ValueExpression originalValueExpression)
    {
        if (originalValueExpression instanceof LocationValueExpression)
        {
            return new LocationMethodExpression(
                    ((LocationValueExpression) originalValueExpression).getLocation(),
                    reWrapMethodExpression(createdMethodExpression,
                            ((LocationValueExpression) originalValueExpression).getWrapped()));
        }
        else if (originalValueExpression instanceof FacesWrapper &&
View Full Code Here

    @SuppressWarnings("unchecked")
    private MethodExpression reWrapMethodExpression(MethodExpression createdMethodExpression, ValueExpression originalValueExpression)
    {
        if (originalValueExpression instanceof LocationValueExpression)
        {
            return new LocationMethodExpression(
                    ((LocationValueExpression)originalValueExpression).getLocation(),
                    reWrapMethodExpression(createdMethodExpression,
                            ((LocationValueExpression)originalValueExpression).getWrapped()));
        }
        else if (originalValueExpression instanceof FacesWrapper &&
View Full Code Here

                // to be able to resolve the right composite component (the one that was
                // created from the file the Location is pointing to) later.
                // (see MYFACES-2561 for details)
                if ((this.capabilities & EL_CC) != 0)
                {
                    methodExpression = new LocationMethodExpression(getLocation(), methodExpression);
                }
            }
           
            if (actx.getFaceletCompositionContext().isWrapTagExceptionsAsContextAware())
            {
View Full Code Here

    private MethodExpression reWrapMethodExpression(MethodExpression createdMethodExpression,
                                                    ValueExpression originalValueExpression)
    {
        if (originalValueExpression instanceof LocationValueExpression)
        {
            return new LocationMethodExpression(
                    ((LocationValueExpression) originalValueExpression).getLocation(),
                    reWrapMethodExpression(createdMethodExpression,
                            ((LocationValueExpression) originalValueExpression).getWrapped()));
        }
        else if (originalValueExpression instanceof FacesWrapper &&
View Full Code Here

                // to be able to resolve the right composite component (the one that was
                // created from the file the Location is pointing to) later.
                // (see MYFACES-2561 for details)
                if (CompositeComponentELUtils.isCompositeComponentExpression(this.value))
                {
                    methodExpression = new LocationMethodExpression(getLocation(), methodExpression);
                }
            }
           
            return new TagMethodExpression(this, methodExpression);
        }
View Full Code Here

    @SuppressWarnings("unchecked")
    private MethodExpression reWrapMethodExpression(MethodExpression createdMethodExpression, ValueExpression originalValueExpression)
    {
        if (originalValueExpression instanceof LocationValueExpression)
        {
            return new LocationMethodExpression(
                    ((LocationValueExpression)originalValueExpression).getLocation(),
                    reWrapMethodExpression(createdMethodExpression,
                            ((LocationValueExpression)originalValueExpression).getWrapped()));
        }
        else if (originalValueExpression instanceof FacesWrapper &&
View Full Code Here

                // to be able to resolve the right composite component (the one that was
                // created from the file the Location is pointing to) later.
                // (see MYFACES-2561 for details)
                if ((this.capabilities & EL_CC) != 0)
                {
                    methodExpression = new LocationMethodExpression(getLocation(), methodExpression);
                }
            }
           
            return new TagMethodExpression(this, methodExpression);
        }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.view.facelets.el.LocationMethodExpression

Copyright © 2018 www.massapicom. 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.