I have a text field which is bound with Integer variable, so when user enters number into this field, binding mechanism automatically converts text into Integer and sets this value into var. Problem is, since user types text into text field, that binding mechanism is converting only values, and if user types some letters into it, binding would not activate because there is no legal value inside text field. What I would need in such situation, binding has to trigger change with null value, so I have null in my Integer var.
So, if user would left this field empty or something that is not number, binding will have to trigger null value propagation; not to ignore event... How could I do this without propgramming events on text field?
Is java binding capable for changing its default behaviour?