Currently the WidgetBinder only binds FieldModels to HasValue instances.
There are cases where it would be nice to bind a simple value model (e.g.
from a BeanModelProvider) to an editor/display widget. This would allow
the widgetbinder to be used where a form doesn't make sense.
Should support:
ValueModel<T> bound to HasValueSetter<T>, Destination<T>
MutableValueModel<T> bound to HasValue<T>, HasValueSetter<T>, Destination<T>
I'm reluctant to bind ValueModel<T> to HasValue<T> as there's no way for
the binding to handle value change events from the widget (and the only
option would be to throw a runtime which would be quite a rake).
Original issue reported on code.google.com by andrew.pietsch on 20 Apr 2010 at 3:43
Original issue reported on code.google.com by
andrew.pietsch
on 20 Apr 2010 at 3:43