see AjaxFormComponentUpdatingBehavior. 2008/5/16 Oliver Mahnke <[EMAIL PROTECTED]>:
> Hi, i am new to wicket and have a question: > > is it possible to access the input-value of a textfield embedded in a form > via ajax before the form is submitted? > > I have a second textfield which should display the input-value of the first > when the focus leaves tf one. > > Therefore i connected the model of tf 2 to the model of tf 1 and have > registered an "onblur" AjaxEventBehavior for > > tf 1, which adds the tf 2 to the ajax response. > > It seems that the value of tf 1 is written to the model only when the whole > form is correct and submitted, the > > the output of tf 2 is only updated on form submit :( > > Thanks!! > > > -- > Dipl.-Inf. Oliver Mahnke > b+m Informatik GmbH Berlin > Schumannstr. 5, 10117 Berlin > Tel: +49 30 288788-132, Fax: +49 30 288788-111 > http://www.bmiag.de, [EMAIL PROTECTED] > > Weitere Angaben zur b+m Informatik GmbH Berlin: > - Handelsregister des Amtsgerichts Charlottenburg, HRB 75036 > - Geschäftsführer: Dipl.-Inform. Jost Becker > - Geschäftsführer: Dr. Carsten Jacobsen > > Aktuelle b+m Infos unter www.bmiag.de > > Diese E-Mail enthält vertrauliche und rechtlich geschützte > Informationen, die ausschließlich für den vorgesehenen Adressaten > bestimmt sind. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail > oder dessen Vertreter sein, so beachten Sie bitte, dass jede Form der > Kenntnisnahme, Speicherung oder Weitergabe des Inhalts dieser E-Mail > unzulässig ist. Wir bitten Sie, in diesem Fall den Absender zu > informieren und die E-Mail mit sämtlichen Anlagen dauerhaft zu löschen. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Ryan Gravener http://twitter.com/ryangravener
