wicket - Show correct model value even if error on field -


i have wicket textfield displays calculated value. value calculated in get-method in model object. have attached custom validator field.

my problem occurs when validator fails. if change values in fields, calculated value should change in failed field. not happening. have verified get-metod called, , calculates correct value. however, not displayed in text-field. field still showing old one..

does know why happening?

when validation fails on formcomponent, rawinput isn't cleared - user can fix value, rather having enter scratch.

in case changing model behind formcomponent's doesn't know there new value. should call modelchanged() method on after changing model value - among other things reset validation , rawinput , form work expected.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -