since I have not found a solution for our little
problem in the forum yet,
I would like to share it with you:
We have implemented a little Dialog to log in.
It has two fields and a submit button. An Adapter is bound to that Dialog.
Our problem is, that the user has to press the submit button every time,
because the keyboard stroke ENTER does not consider the text inside the password field.
Desired Usage:
The User inputs username, then presses tab and then enters the password and then presses ENTER on his keybord.
In our implementation when hitting ENTER the method “getUserPwd” inside the adapter class returns null…
Why don’t you try to validate your fields against your business rules before processing them ? Also by usign "statusprop " property of field you can give warning messages & focus on any field.
The login works fine, when hitting the SUBMIT button.
The moment I am still inside the Password field with cursor,
and hit keyboard’s ENTER key the variable bound to that field is empty.
I tried also the flush with server and screen, but did not work properly.