Hi Ireneusz,
One possible way you could achieve this by attaching a browser event to your password control (or whichever control you want the submit via enter to be triggered from) and then check to see if the key pressed was enter (keyCode 13). For the password field it would look something like this...
var oPassword = new sap.ui.commons.PasswordField(); oPassword.attachBrowserEvent("keydown",function(e){ if (e.keyCode == 13) { alert('enter was pressed'); } });
Cheers,
Ian