3
votes

I just want to know the difference between AjaxLink and AjaxButton in Wicket and when it's preferable to use each one of them.

1

1 Answers

6
votes

AjaxButton submits a Form, i.e. all form components send their values to the server.

AjaxLink just notifies the server code that the user has clicked a link. It doesn't bring any data in the request by default.