Package org.apache.tapestry.spec

Examples of org.apache.tapestry.spec.Direction


                continue;
            }

            IParameterSpecification pspec = spec.getParameter(name);
            Direction direction = pspec.getDirection();

            if (direction != Direction.IN && direction != Direction.FORM)
            {
                if (debug)
                    LOG.debug("Parameter is " + pspec.getDirection().getName() + ".");

                continue;
            }

            if (!direction.getAllowInvariant() && binding.isInvariant())
                throw new ConnectedParameterException(
                    Tapestry.format(
                        "ParameterManager.incompatible-direction-and-binding",
                        new Object[] {
                            name,
                            _component.getExtendedId(),
                            direction.getDisplayName(),
                            binding }),
                    _component,
                    name,
                    null,
                    binding.getLocation(),
View Full Code Here


                continue;
            }

            IParameterSpecification pspec = spec.getParameter(name);
            Direction direction = pspec.getDirection();

            if (direction != Direction.IN && direction != Direction.FORM)
            {
                if (debug)
                    LOG.debug("Parameter is " + pspec.getDirection().getName() + ".");
View Full Code Here

        __CLOVER_106_0.S[2610]++;addEnhancer(enhancer);
    } finally { }}

    private void scanForParameterProperty(String parameterName, IParameterSpecification ps)
    {try { __CLOVER_106_0.M[604]++;
        __CLOVER_106_0.S[2611]++;Direction direction = ps.getDirection();

        __CLOVER_106_0.S[2612]++;if ((((direction == Direction.CUSTOM) && (++__CLOVER_106_0.CT[486] != 0)) || (++__CLOVER_106_0.CF[486] == 0))){
            __CLOVER_106_0.S[2613]++;return;}

        __CLOVER_106_0.S[2614]++;if ((((direction == Direction.AUTO) && (++__CLOVER_106_0.CT[487] != 0)) || (++__CLOVER_106_0.CF[487] == 0))){
View Full Code Here

                continue;
            }

            IParameterSpecification pspec = spec.getParameter(name);
            Direction direction = pspec.getDirection();

            if (direction != Direction.IN && direction != Direction.FORM)
            {
                if (debug)
                    LOG.debug("Parameter is " + pspec.getDirection().getName() + ".");
View Full Code Here

        addEnhancer(enhancer);
    }

    protected void scanForParameterProperty(String parameterName, IParameterSpecification ps)
    {
        Direction direction = ps.getDirection();

        if (direction == Direction.CUSTOM)
            return;

        if (direction == Direction.AUTO)
View Full Code Here

        getEnhancedClass().createProperty(propertyName, IBinding.class.getName());
    }

    protected void scanForParameterProperty(String parameterName, IParameterSpecification ps)
    {
        Direction direction = ps.getDirection();

        if (direction == Direction.CUSTOM)
            return;

        if (direction == Direction.AUTO)
View Full Code Here

                __CLOVER_210_0.S[4885]++;continue;
            }}

            __CLOVER_210_0.S[4886]++;IParameterSpecification pspec = spec.getParameter(name);
            __CLOVER_210_0.S[4887]++;Direction direction = pspec.getDirection();

            __CLOVER_210_0.S[4888]++;if ((((direction != Direction.IN && direction != Direction.FORM) && (++__CLOVER_210_0.CT[886] != 0)) || (++__CLOVER_210_0.CF[886] == 0))){
            {
                __CLOVER_210_0.S[4889]++;if ((((debug) && (++__CLOVER_210_0.CT[887] != 0)) || (++__CLOVER_210_0.CF[887] == 0))){
                    __CLOVER_210_0.S[4890]++;LOG.debug("Parameter is " + pspec.getDirection().getName() + ".");}

                __CLOVER_210_0.S[4891]++;continue;
            }}

            __CLOVER_210_0.S[4892]++;if ((((!direction.getAllowInvariant() && binding.isInvariant()) && (++__CLOVER_210_0.CT[888] != 0)) || (++__CLOVER_210_0.CF[888] == 0))){
                __CLOVER_210_0.S[4893]++;throw new ConnectedParameterException(Tapestry.format(
                        "ParameterManager.incompatible-direction-and-binding",
                        new Object[]
                        { name, _component.getExtendedId(), direction.getDisplayName(), binding }),
                        _component, name, null, binding.getLocation(), null);}

            __CLOVER_210_0.S[4894]++;String propertyName = pspec.getPropertyName();

            __CLOVER_210_0.S[4895]++;if ((((debug && !name.equals(propertyName)) && (++__CLOVER_210_0.CT[889] != 0)) || (++__CLOVER_210_0.CF[889] == 0))){
View Full Code Here

        getEnhancedClass().createProperty(propertyName, IBinding.class.getName());
    }

    protected void scanForParameterProperty(String parameterName, IParameterSpecification ps)
    {
        Direction direction = ps.getDirection();

        if (direction == Direction.CUSTOM)
            return;

        if (direction == Direction.AUTO)
View Full Code Here

                continue;
            }

            IParameterSpecification pspec = spec.getParameter(name);
            Direction direction = pspec.getDirection();

            if (direction != Direction.IN && direction != Direction.FORM)
            {
                if (debug)
                    LOG.debug("Parameter is " + pspec.getDirection().getName() + ".");
View Full Code Here

        getEnhancedClass().createProperty(propertyName, IBinding.class.getName());
    }

    protected void scanForParameterProperty(String parameterName, IParameterSpecification ps)
    {
        Direction direction = ps.getDirection();

        if (direction == Direction.CUSTOM)
            return;

        if (direction == Direction.AUTO)
View Full Code Here

TOP

Related Classes of org.apache.tapestry.spec.Direction

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.