Exemplo n.º 1
0
        public override void setValue(Bindings bindings, ELContext context, object value)
        {
            ValueExpression expression = bindings.getVariable(index);

            if (expression != null)
            {
                expression.setValue(context, value);
                return;
            }
            context.PropertyResolved = false;
            context.ELResolver.setValue(context, null, name, value);
            if (!context.PropertyResolved)
            {
                throw new PropertyNotFoundException(LocalMessages.get("error.identifier.property.notfound", name));
            }
        }