1. #1
    Ext User
    Join Date
    Feb 2009
    Posts
    25
    Vote Rating
    0
    rakir is on a distinguished road

      0  

    Default Password filed with constant number of displayed dot

    Password filed with constant number of displayed dot


    Hi everybody,

    all is in the title

    private TextField<String> m_password = new TextField<String>();
    m_password.setPassword(true);


    I want to know if there is a method that display in the form a constant number of dot in the present field whatever the size of the password


    Thx

  2. #2
    Ext User
    Join Date
    Feb 2009
    Posts
    25
    Vote Rating
    0
    rakir is on a distinguished road

      0  

    Default


    I'm not sure, i was very clear

    I have this password field

    Code:
     
    private TextField<String> m_password ;
     
    m_password = new TextField<String>();
    m_password.setPassword(true);
    The problem is that my passwords are crypted so, their size is very large.
    So I want to know if it's possible to display in my form a password field with a constant number of dot (8 for example) ?

    Thx

  3. #3
    Ext GWT Premium Member
    Join Date
    Jul 2008
    Posts
    101
    Vote Rating
    0
    Martin.Trummer is on a distinguished road

      0  

    Default


    AFAIK, the html input element cannot do that

    you could, however, try to add a change-listener to your passwordfield and whenever it's changed, you remember the input and set your fixed 8 character-pwd to the visible pwd-field.
    However, I'd not recommend to do that.
    Why is it a problem to show the long input text?

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This would be an own implementation. You can capture the key that gets pressed, save it somewhere else and always display your random number of stars in the actual field.

Thread Participants: 2

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