Hi -
I have a TextField component in my page.
Java :
====
txtAge = new TextField("txtAge", Integer.class);
lblAgeValidate = new Label("lblAgeValidate", "");
html:
====
<td><input type="text" wicket:id="txtAge" /></td>
<td><span wicket:id="lblAgeValidate" /></td>
I want a behavior to attach an ajax event handler to the textfield
such a way that anytime a text field changes - there would be an ajax
validation performed , that would update the model behind
lblAgeValidate - which will contain the error message.
Just curious how this could be done.
I saw the ajax example in the website - that talks about a Link (with
onClick() method).
Similarly - is there any other event handler that I could use to get
this done. Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]