- imagine a generic form as following:
<window viewModel="@id('vm') @init('com.xy.RecordVM')" validationMessages="@id('vmsgs')"
form="@id('fx') @load(vm.record) @save(vm.record, before='save')">
<forEach items="@load(vm.fields" var="field">
<textbox value="@bind(fx[field.id]) @validator(vm.validator, field=field)" />
- user enters wrong value into 1st textbox -> validator shows error, OKAY
- user enters correct value into 2nd textbox -> value of 1st textbox is reloaded from bean, wrong value is overwritten, NOT OKAY
TrackerNode.getDependents(property) wrongly detects a dependency between binded values because of identical script snippet [field.id]. That's completely misleading because script evaluates very different depending on forEach loop variable.