Another User Extension contribution - PasswordField (see screen shot attached). Credit goes to http://extjs.com/forum/showthread.php?t=20417 for providing the concept and idea - though not much was shared other than the images.

Add the PasswordField.jar to your lib and the following line to your gwt.xml

Code:

<inherits name='ext.ux.pwd.PasswordField'/>

The code snip below shows how to use it within a normal FormPanel or FormLayout.

detecting capslock is a fudge as there is no actual way to test if the capslocks key is down - as such it just checks to see if the new section entered entered are all upper without shift being pressed and then shows the CAPSLOCK! mask...

detecting capslock is a fudge as there is no actual way to test if the capslocks key is down - as such it just checks to see if the new section entered entered are all upper without shift being pressed and then shows the CAPSLOCK! mask...

All just a trick really and perhaps there is some logic issues...

The mask remains if you type a UpperCase letter and a lowercase after first one. For example...

Password fires the mask and it remains active
pAsSwOrD don't fires the mask

Thanks a Lot...

Thanks a Lot...

I was developing some small application using GWT-Ext and was not aware of this PasswordField but now I got to know about it.Please can you tell me where do I need to copy password.jar file I mean which folder???