I want a theoretical explanation about AjaxRequestTarget on wicket. Talking about behaviors: to create your own you must override onUpdate method, and can override other methods like onEvent, onBind etc.. but why AjaxRequestTarget object is only available in onUpdate method?
I want it in other methods, (specifically in onEvent()) because I want to validade form components. In my tests, onUpdate method not works as I want.. onUpdate (with focusout event) is being called only when model is changed... so it is called when I fill a TextField, for example, but not when it get's empty again..
onEvent method is called on both moments, but I can't update other components (like a label to display the feedback message to that field), because AjaxRequestTarget is not available on it.