Hybrid View

  1. #1
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default ext.ux.pwd.PasswordField

    ext.ux.pwd.PasswordField


    UPDATE 05/12/2008 : Fixed validate onBlur bug
    UPDATE 25/10/2008 : Fixed set value bug
    UPDATE 18/10/2008 : Fixed resize bug with formdata 100%
    UPDATE 1/7/2008 : Added to source/download : Apache License, Version 2.0

    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.

    ...enjoy,
    Grant

    Code:
    		final PasswordField pw1PwdFld = new PasswordField();
    		pw1PwdFld.setEmptyText("Enter a strong password");
    		pw1PwdFld.setFieldLabel("Secure Password");
    		pw1PwdFld.setMinScore(PasswordField.Strong);
    		formpanel.add(pw1PwdFld);
    Attached Images
    Attached Files

  2. #2
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    372
    Vote Rating
    4
    ttbgwt is on a distinguished road

      0  

    Default


    Nice work. So If I wanted to use this, what type of licensing is this?

  3. #3
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    Oops, I've updated the download and the source has Apache License, Version 2.0...

  4. #4
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    updated to fix a formdata 100% resize bug

  5. #5
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    fixed a setvalue bug that correctly clears invalid state

  6. #6
    Ext User
    Join Date
    Jun 2008
    Location
    Williamsburg, VA
    Posts
    10
    Vote Rating
    0
    adam.schwartz is on a distinguished road

      0  

    Default


    Nicely done! Thanks for sharing ^.^

    I did notice that if you start a password with an upper-case letter, using Shift, then type in a lower-case character it will throw up that CAPSLOCK mask.

  7. #7
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    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...

  8. #8
    Ext User
    Join Date
    Sep 2008
    Posts
    17
    Vote Rating
    0
    dcampos is on a distinguished road

      0  

    Default


    Quote Originally Posted by gslender View Post
    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

  9. #9
    Ext User
    Join Date
    Oct 2008
    Location
    Warsaw(PL)/Cottbus(GER)
    Posts
    215
    Vote Rating
    0
    EagleEye666666 is on a distinguished road

      0  

    Default


    nice job(just looked at the pics and idea), iam gonna think to implement this.

    regards!

  10. #10
    Ext User
    Join Date
    Nov 2008
    Posts
    2
    Vote Rating
    0
    java.rapchick is on a distinguished road

      0  

    Default 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???

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi