GWT password prompt like Window.prompt
in my application I need to prompt the user to enter their password. I would like this to work the same as GWT's Window.prom开发者_如何学Gopt() method, except with the text in the text box masked. How would I make a dialog that does that with GWT?
Follow this example in the GWT Showcase: Dialog Box
You just need to change the "dialogContents" adding your custom fields, including the password field, using PasswordTextBox.
精彩评论