WICKET : Ajax is not working in my wicket application
I have used wicket 1.4.18.Ajax is not working when i have write any text in textfield.

Java code:
   
Form form = new Form("form");    
   TextField<String> text=new TextField<String>("manualUrl",new PropertyModel(this, "code")); 
       
        text.setOutputMarkupId(true);
        form.add(text);
        OnChangeAjaxBehavior onChangeAjaxBehavior = new OnChangeAjaxBehavior()
        {
            @Override
            protected void onUpdate(AjaxRequestTarget target)
            {
               System.out.println("hello);
            	
            }
        };
     text.add(onChangeAjaxBehavior);
   add(form);
form.setOutputMarkupId(true);

      Its not print "hello".all other component are working very well but ajax is not working,
WICKET : Ajax is not working in my wicket application
===

I have used wicket 1.4.18.Ajax is not working when i have write any text in textfield.

Java code:
   
Form form = new Form("form");    
   TextField<String> text=new TextField<String>("manualUrl",new PropertyModel(this, "code")); 
       
        text.setOutputMarkupId(true);
        form.add(text);
        OnChangeAjaxBehavior onChangeAjaxBehavior = new OnChangeAjaxBehavior()
        {
            @Override
            protected void onUpdate(AjaxRequestTarget target)
            {
               System.out.println("hello);
            	
            }
        };
     text.add(onChangeAjaxBehavior);
   add(form);
form.setOutputMarkupId(true);

      Its not print "hello".all other component are working very well but ajax is not working,