Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Jul 2009
    Posts
    3
    Vote Rating
    0
    wombatkin is on a distinguished road

      0  

    Default [FIXED] [2.0.1]FormPanel opens new window in IE7 when submitted

    [FIXED] [2.0.1]FormPanel opens new window in IE7 when submitted


    Hello,

    I've found strange behaviour when using FormPanel.submit() method. When form is submitted, browser opens a new window. This only happens when using IE7 (running on WinXP sp3) in both modes, in FF and chrome code works fine.

    Here is sample code:

    Code:
    package tests.client;
    
    import com.extjs.gxt.ui.client.event.ButtonEvent;
    import com.extjs.gxt.ui.client.event.Events;
    import com.extjs.gxt.ui.client.event.Listener;
    import com.extjs.gxt.ui.client.widget.VerticalPanel;
    import com.extjs.gxt.ui.client.widget.button.Button;
    import com.extjs.gxt.ui.client.widget.form.FormPanel;
    import com.extjs.gxt.ui.client.widget.form.TextField;
    import com.extjs.gxt.ui.client.widget.form.FormPanel.Method;
    import com.google.gwt.core.client.EntryPoint;
    import com.google.gwt.user.client.ui.RootPanel;
    
    public class Test implements EntryPoint {
    	public void onModuleLoad() {
    		VerticalPanel root = new VerticalPanel();
    		
    		final FormPanel form = new FormPanel();
    		
    		TextField<String> myField = new TextField<String>();
    		myField.setFieldLabel("Test field");
    		myField.setName("my-field");
    		
    		form.add(myField);
    		form.setAction("/test/blank.html");
    		form.setMethod(Method.POST);
    		
    		root.add(form);
    		
    		Button btn = new Button("Submit on event");
    		btn.addListener(Events.Select, new Listener<ButtonEvent>(){
    			@Override
    			public void handleEvent(ButtonEvent be) {
    				form.submit();
    			}
    		});
    		
    		root.add(btn);
    		
    		RootPanel.get("entryPoint").add(root);
    	}
    }
    In GXT 2.0 this code wroks fine. Is this a bug or I'm doing the wrong things?

    Thanks.

  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. Please use the forum search before opening new topics in the bug forum. I am closing this issue.

  3. #3
    Ext User
    Join Date
    Feb 2009
    Posts
    8
    Vote Rating
    0
    ngrant is on a distinguished road

      0  

    Default


    I've searched all over the forum, and I can only see your comments about the issue being a duplicate.

    Where can I find details for the fix, please.

  4. #4
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    1
    Arno.Nyhm is on a distinguished road

      0  

    Default


    he fix is in the svn. you need support options to have access to svn or you have to wait until next 2.0.2 release...
    This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.

    GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041

Thread Participants: 3

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