Package org.apache.myfaces.extensions.validator.core.el

Examples of org.apache.myfaces.extensions.validator.core.el.ELHelper


            return;
        }

        List<MethodExpression> listenerExpressions = ((ExtValAjaxBehavior)ajaxBehavior).getListenerExpressions();

        ELHelper elHelper = ExtValUtils.getELHelper();

        for (MethodExpression listenerExpression : listenerExpressions)
        {
            String actionString = listenerExpression.getExpressionString();
            if(!elHelper.isELTermWellFormed(actionString))
            {
                continue;
            }

            ValueBindingExpression valueBindingExpression = new ValueBindingExpression(actionString);
View Full Code Here


    }

    @Test
    public void testDeactivateElResolverDefault()
    {
        ELHelper elHelper = new CustomDefaultELHelper();
        Assert.assertNotNull(elHelper.getPropertyDetailsOfValueBinding(uiComponent));

    }
View Full Code Here

    }

    @Test
    public void testDeactivateElResolverWebXml()
    {
        ELHelper elHelper = new CustomDefaultELHelper();
        // When deactivated, the getPropertyDetailsViaReflectionFallback method
        // is called which returns null in our custom version
        Assert.assertNull(elHelper.getPropertyDetailsOfValueBinding(uiComponent));
    }
View Full Code Here

    }

    @Test
    public void testDeactivateElResolverCustomConfig()
    {
        ELHelper elHelper = new CustomDefaultELHelper();
        // When deactivated, the getPropertyDetailsViaReflectionFallback method
        // is called which returns null in our custom version
        Assert.assertNull(elHelper.getPropertyDetailsOfValueBinding(uiComponent));
    }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.extensions.validator.core.el.ELHelper

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.