coreRuntime/src/sc/bind/SelectorBinding.java
public boolean applyBinding(Object obj, Object value, IBinding src, boolean refresh, boolean pendingChild) {
      int i;
      boolean bound = false;
      Object bindingParent = null;
      for (i = 0; i < boundProps.length; i++) {
         if (src == boundProps[i]) {
            if (!DynUtil.equalObjects(boundValues[i], value)) {
               //boundValues[i] = value;
               updateBoundValue(i, value);
               bindingParent = value;
               bound = true;
            }
         }
         else if (bound) {
            Bind.parentBindingChanged(boundProps[i]);
            if (activated) {
               //boundValues[i] = bindingParent == null || bindingParent == UNSET_VALUE_SENTINEL ? UNSET_VALUE_SENTINEL : boundProps[i].getPropertyValue(bindingParent);
               updateBoundValue(i, bindingParent == null || bindingParent == UNSET_VALUE_SENTINEL ? UNSET_VALUE_SENTINEL : PBindUtil.getPropertyValue(bindingParent, boundProps[i], false, pendingChild));
            }
            bindingParent = boundValues[i];
         }
      }
      if (bound)
         applyBinding();
      return bound;
   }
/**
    * One of our downstream values changed.  We need to figure out which one it was.
    * If the value changed, we need to re-evaluate all subsequent binding expressions after the one that
    * changed.
    */
One of our downstream values changed.  We need to figure out which one it was.
If the value changed, we need to re-evaluate all subsequent binding expressions after the one that
changed.
One of our downstream values changed . We need to figure out which one it was . If the value changed we need to re - evaluate all subsequent binding expressions after the one that changed .
public boolean applyBinding(Object obj, Object value, IBinding src, boolean refresh, boolean pendingChild) {
      int i;
      boolean bound = false;
      Object bindingParent = null;
      for (i = 0; i < boundProps.length; i++) {
         if (src == boundProps[i]) {
            if (!DynUtil.equalObjects(boundValues[i], value)) {
               updateBoundValue(i, value);
               bindingParent = value;
               bound = true;
            }
         }
         else if (bound) {
            Bind.parentBindingChanged(boundProps[i]);
            if (activated) {
               updateBoundValue(i, bindingParent == null || bindingParent == UNSET_VALUE_SENTINEL ? UNSET_VALUE_SENTINEL : PBindUtil.getPropertyValue(bindingParent, boundProps[i], false, pendingChild));
            }
            bindingParent = boundValues[i];
         }
      }
      if (bound)
         applyBinding();
      return bound;
   }
public boolean applyBinding ( Object obj , Object value , IBinding src , boolean refresh , boolean pendingChild ) { int i ; boolean bound = false ; Object bindingParent = null ; for ( i = 0 ; i < boundProps . length ; i ++ ) { if ( src == boundProps [ i ] ) { if ( ! DynUtil . equalObjects ( boundValues [ i ] , value ) ) { updateBoundValue ( i , value ) ; bindingParent = value ; bound = true ; } } else if ( bound ) { Bind . parentBindingChanged ( boundProps [ i ] ) ; if ( activated ) { updateBoundValue ( i , bindingParent == null || bindingParent == UNSET_VALUE_SENTINEL ? UNSET_VALUE_SENTINEL : PBindUtil . getPropertyValue ( bindingParent , boundProps [ i ] , false , pendingChild ) ) ; } bindingParent = boundValues [ i ] ; } } if ( bound ) applyBinding ( ) ; return bound ; }
One of our downstream values changed.
One of our downstream values changed .
//boundValues[i] = value; //boundValues[i] = bindingParent == null || bindingParent == UNSET_VALUE_SENTINEL ? UNSET_VALUE_SENTINEL : boundProps[i].getPropertyValue(bindingParent);