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

      0  

    Default From submit causes window to open in IE

    From submit causes window to open in IE


    Hello. I created a simple form that takes username and password. Works fine in FF and Safari, but in IE 6-8, when i click a buttom to submit the form, a window opens and now Events.Submit event is fired.

    Here is my code:

    UserLoginForm(String url) {

    setHeaderVisible(false);
    setAction(url);
    setBorders(false);
    setWidth(485);
    setFieldWidth(250);
    this.setBodyBorder(false);
    setLabelWidth(175);
    setPadding(15);
    setMethod(Method.POST);
    setFrame(true);


    username.setFieldLabel("Username");
    username.setAllowBlank(false);
    username.setName("username");
    add(username);

    password.setFieldLabel("Password");
    password.setPassword(true);
    password.setAllowBlank(false);
    password.setName("password");

    add(password);

    Button submit = new Button("Login");

    submit.addSelectionListener(new SelectionListener<ButtonEvent>() {

    @Override
    public void componentSelected(ButtonEvent ce) {
    if(isValid()){

    submit();
    }

    }

    });

    this.addButton(submit);

    add(forgotpassword);

    }




    Any ideas what i am doing wrong?

  2. #2
    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 is already fixed in svn. The fix will be part of the next release.

  3. #3
    Ext User
    Join Date
    Jun 2009
    Posts
    25
    Vote Rating
    0
    cbruno is on a distinguished road

      0  

    Default Thats nice

    Thats nice


    So I paid $300 bucks for an API that cannot submit forms correctly for the most widely used browser? And I need to pay another $300 to get the fix (svn access) or just sit and wait.....why cant you release GXT 2.0.2 for something this critical? I can wait for LiveGrid but not this.

  4. #4
    Ext GWT Premium Member
    Join Date
    Sep 2009
    Posts
    60
    Vote Rating
    1
    aclsoftware is on a distinguished road

      0  

    Default


    I agree.. This is a bit of a show stopper at the moment. I have actually subscribed to the SVN but cant work out how to get the fix.

    Can anybody help?

  5. #5
    Ext User
    Join Date
    Nov 2008
    Posts
    44
    Vote Rating
    0
    Feltros is on a distinguished road

      0  

    Default


    Do you mean you don't know how to build from SVN?

    Found this on google:

    http://extjs.com/helpcenter/index.js...arted/svn.html

    And its hardly a show stopper - just use FireFox as your development browser for the time being?

  6. #6
    Ext GWT Premium Member
    Join Date
    Sep 2009
    Posts
    60
    Vote Rating
    1
    aclsoftware is on a distinguished road

      0  

    Default


    Hi Feltros..

    Thanks for you rapid response.

    I have got the repository locally but didnt really know how / what to build.

    I was looking at using the SVN builder command line tool but didnt know what the source directory was (i am acutally new to SVN, used to CVS which isnt as feature rich).

    I guess i will try the eclipse method you kindly sent to me .. but do you have any further clues in meantime..

    thanks again.

  7. #7
    Ext User
    Join Date
    Nov 2008
    Posts
    44
    Vote Rating
    0
    Feltros is on a distinguished road

      0  

    Default


    Wish I did, I don't have access to the SVN and have never built/compiled from one either. By the looks of things that eclipse solution should build it and stick it into your project for you too so things 'should' work straight away... couldn't honestly tell you if they will though. Goodluck!

  8. #8
    Ext GWT Premium Member
    Join Date
    Sep 2009
    Posts
    60
    Vote Rating
    1
    aclsoftware is on a distinguished road

      0  

    Default


    I've got my crash helmet on and going in..

    thanks

  9. #9
    Ext GWT Premium Member
    Join Date
    Sep 2009
    Posts
    60
    Vote Rating
    1
    aclsoftware is on a distinguished road

      0  

    Default


    Just noticed your other line about using Firefox as the development browser. Doesnt this mean that dont get the facility to debug the front end stuff like you do in hosted?

  10. #10
    Ext User
    Join Date
    Nov 2008
    Posts
    44
    Vote Rating
    0
    Feltros is on a distinguished road

      0  

    Default


    Yea I guess that wasn't a fantastic tip after all. I was assuming you had a half finished product and were doing fiddly bits and IE was buggering you over.

    Out of interest what are you Method.POSTing data to (the url?)? If you have a java back end you wouldn't need to do it in this way to start with and thats what GWT is primarily geared towards. You could even put a java back end on that communicated the data over to a different url(perl, php, whatnot) and retrieved the response (effort, but a workaround for people who don't have svn).

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