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);         
        
                
                shipIdTf.add(new AjaxEventBehavior("onBlur"){                   
                        private static final long serialVersionUID = 1L;        
                
                        @Override
                        protected void onEvent(AjaxRequestTarget target) {
                                System.out.println("Event is triggered");
                                System.out.println("The input value is " + 
shipIdTf.getInput())
                        }
                        
        });

Please suggest.

Thanks for your time.
Jamuna.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-get-a-value-of-textfield-on-onBlur-event-tp2248027p2248027.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to