Is there a way to get a TextField's value without submitting the form? For example, if I have a TextField and a Link (not a submit Button), I want the Link's onClick to System.out.println the TextField's value at that time. I tried using TextField.getInput, getConvertedInput, no dice on both.
I even tried adding a AjaxFormComponentUpdatingBehavior to the TextField for "onchange", which does work to change the TextField's model whenever a user types something, but it's getInput and getConvertedInput is always null when I click the Link. Even if the AjaxFormComponentUpdatingBehavior's onUpdate I do TextField.setConvertedInput(model's new value) explicity, both getInput and getConvertedInput are both null. Any ideas?
