jschneider
buttonbar { button("Login", ButtonBar.ButtonData.OK_DONE).action { enableWhen { model.valid } model.commit { doLogin() } } }