Reputation: 484
I just want to know the difference between AjaxLink and AjaxButton in Wicket and when it's preferable to use each one of them.
Upvotes: 3
Views: 888
Reputation: 17513
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.
Upvotes: 6