I had the same question last week. This is probably what you want: http://wicket.apache.org/apidocs/1.4/org/apache/wicket/ajax/form/AjaxFormComponentUpdatingBehavior.html .
Add this to your component and it's model will be updated without submitting the form. On 31 Jul 2011 15:05, "vineet semwal" <[email protected]> wrote: > use ajaxsubmitlink and it will submit the form the textfield is in .. > > > > On Sun, Jul 31, 2011 at 7:25 PM, eugenebalt <[email protected]> wrote: >> I have a TextField and an AjaxFallbackLink. The AjaxFallbackLink, when >> clicked, must read the value of the TextField. But that value isn't >> available yet, because there has been no form submit and no model binding >> yet. >> >> Both getInput() and getModelObject() return NULL at the time of the >> AjaxFallbackLink's click. Any ideas how to solve that? >> >> Thanks >> >> -- >> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-Model-Not-Available-for-AjaxFallbackLink-tp3707795p3707795.html >> Sent from the Users forum mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > -- > thank you, > > regards, > Vineet Semwal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
