Tim Larson <tim <at> keow.org> writes:

> > At the moment the UnionBinding behaves just like a ContextBinding, all sub
> > bindings are processed.
> 
> I do not have time to dig in the code right now, but this looks like a bug
> (oversight) that needs fixed.  Only the current case should be processed.

Thanks for the confirmation.
The code is quite easy "iterate over all sub bindings":

Binding[] subBindings = getChildBindings();
if (subBindings != null) {
    int size = subBindings.length;
    for (int i = 0; i < size; i++) {
        subBindings[i].saveFormToModel(unionWidget, subContext);
    }
}

I will see if I can fix it.

Joerg

Reply via email to