value = super.valueForBinding(binding); } else if (parent() instanceof ERDCustomEditComponent || parent() instanceof ERD2WCustomComponentWithArgs) {   value = parent().valueForBinding(binding);
log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log.debug("has d2wContext == true"); value = d2wContextValueForBinding(binding); } else { value = parentValueForBinding(binding); } if (value == null && binding != null && extraBindings() != null) { log.debug("inside the extraBindings branch"); value = extraBindingsValueForBinding(binding); } if (log.isDebugEnabled()) { if (value != null) log.debug("returning " + value.getClass().getName() + ": " + value); else log.debug("returning value: null");
    public Object valueForBinding(String binding) {        Object value=null;        if (super.hasBinding(binding)) {            value = super.valueForBinding(binding);        } else if (parent() instanceof ERDCustomEditComponent || parent() instanceof ERD2WCustomComponentWithArgs) {            // this will eventually bubble up to a D2WCustomComponentWithArgs, where it will (depending on the actual binding)            // go to the d2wContext            value = parent().valueForBinding(binding);        }        return value;    }