I am developing a GWT web application. I have a login page with one textbox for user name, one passwordtextbox for password, and one submit button.
Now I want my login page has this feature: when a user logs in again, in the textbox for user name, he can find all previous inputs.
For the moment, I don’t have a clue how to do this. What should I look for? what kind of technique does this feature need?
An example for this feature is the login of hotmail. It can remember your previous input emails. I don’t need my application to remember the password.
It would be nice if anybody can give me an example.
Thanks in advance!
Best regards
I think Cookies would do the trick. By the way, I have noticed for some reason SuggestBox does not support adding mouse or focus handlers so I have used the depreciated focusListener in my example. Proper way of doing this would be to use a FocusPanel to wrap the SuggestBox to catch the focus events.