1. #1
    Ext User
    Join Date
    Jul 2009
    Posts
    5
    Vote Rating
    0
    gerryw is on a distinguished road

      0  

    Default Login Example: Every submit fails on failed login

    Login Example: Every submit fails on failed login


    Hello All,

    I've been working with the Login example. I am fairly new to ExtJS, so please excuse any incorrect terminology. I have encountered a problem when there are repeated login failures. The first time it works and displays the appropriate message in a popup window. The second time it will fail and then every other time after that. This only happens on a login failure. If the login is successful, then another page is loaded, so I think it has something to do with the form not being properly reset. There is a line of code that seems to be doing that though "login.getForm().reset();". Can anyone help?

    Thanks,
    -G

  2. #2
    Ext User
    Join Date
    Jul 2009
    Posts
    5
    Vote Rating
    0
    gerryw is on a distinguished road

      0  

    Default


    Hello All,

    I finally figured this out. It was just a misplaced "}".

    Man this Ext.Stuff({MoreStuff({EvenMoreStuff({})})}) is killing me! Is it even possible to use ExtJS without this monkey business?

    Thanks,
    -G

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,819
    Vote Rating
    608
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Use.A({Decent({Editor({})})})

    Aptana is nice
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by gerryw View Post
    Hello All,

    I finally figured this out. It was just a misplaced "}".

    Man this Ext.Stuff({MoreStuff({EvenMoreStuff({})})}) is killing me! Is it even possible to use ExtJS without this monkey business?

    Thanks,
    -G
    Use an IDE that indents properly and matches braces etc.

  5. #5
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    Use.A({Decent({Editor({})})})

    Aptana is nice

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