Hi

You can add a wicket button on your form and implement onClick/onSubmit on
the button.

There many buttons including ajax enabled ones. See javadocs for details.

Something like

<form ....>
    ...
   <button wicket:id="myButton"></button>
</form>

myForm.add(new Button("myButton"){
         @Override
            public void onSubmit() {
                //do your stuff here
            }

})

Josh.


>

Reply via email to