Is buttonClick method synchronized?

If I use a single ClickListner class for multiple buttons on the same panel, what is the behavior if the user clicks on more than one button consecutively very quickly? Will the clicks after the first one be discarded? Or the buttonClick method will be called for each button clicked? If the latter is true, will the calls to buttonClick method be synchronized?

Hi Tony,

Yes, the event handling order on the server side is well-defined and the same as the order in which the events were fired on the client. Specifically, button click events immediately fire a server request, and any other clicks that occur on the client are queued until the previous request has completed. There are also situations where several events are sent in a single request; in this case, as well, they are handled on the server strictly in the order that they originally occurred.