Unexpected behaviour for CheckBox with immediate mode set to false?

Hi all,

a colleague of mine encountered a strange problem this morning. Upon clicking a button in a Window, some code is executed to start a download. To determine the contents, the value of a CheckBox in the window is used. However, the value of the CheckBox was false even when it was checked. Explicitly setting the CheckBox’s immediate mode to true solved this.

I would expect that the new value would have been communicated back to the server after the button click, even with immediate = false. Or is this not the way this is supposed to work?

Cheers!