Hi,
How to get the value of the textfield on onBlur event? The below code
always prints null for shipIdTf.getInput()
final TextField shipIdTf = new TextField(ship.id);
shipIdTf.setOutputMarkupId(true);
mawbForm.add(shipIdTf);
AjaxFormComponentUpdatingBehavior might be what you want.
Regards,
Gerolf
On Tue, Jun 8, 2010 at 10:58 PM, jammyjohn jchinnas...@yahoo.com wrote:
Hi,
How to get the value of the textfield on onBlur event? The below code
always prints null for shipIdTf.getInput()
final TextField
Thanks for your reply. It worked. But I ran into another problem.
Instead of getting the value of textfield value getInput(), I tried getting
it from my model as dtoModel.getObject().getShipId().
This gives me the correct value(the value entered in the text field) for the
first time. If I
Use OnChangeAjaxBehavior subclass.
Fausto Argeni Bencosme Doñe.
:D
On Tue, Jun 8, 2010 at 9:42 PM, jammyjohn jchinnas...@yahoo.com wrote:
Thanks for your reply. It worked. But I ran into another problem.
Instead of getting the value of textfield value getInput(), I tried getting
it from