m.bouali
m.bouali

Reputation: 484

Difference between AjaxLink and AjaxButton in Wicket

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

Answers (1)

martin-g
martin-g

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

Related Questions