1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    4
    Vote Rating
    0
    vortex-5 is on a distinguished road

      0  

    Default FileUploadField IE compatability

    FileUploadField IE compatability


    In one of my current projects the GXT widget FileUploadField requires 2 clicks from IE to have the browse button popup.

    Has anyone else experienced this issue with this widget?

    This only happens in IE all other browsers behave as expected.

  2. #2
    Ext User
    Join Date
    Mar 2010
    Posts
    6
    Vote Rating
    0
    carl.cronje@gmail.com is on a distinguished road

      0  

    Default


    Hi

    I have the same problem, any idea how to fix it yet..

    I see it has been a month since you asked the question...

    Thanks
    Carl

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


    Can you please post a fully working testcase implementing EntryPoint that shows this? This works fine here: http://www.sencha.com/examples/#fileupload

  4. #4
    Ext User
    Join Date
    Mar 2010
    Posts
    6
    Vote Rating
    0
    carl.cronje@gmail.com is on a distinguished road

      0  

    Default


    Hi Sven

    It seems that when I put the FileUploadField in a Dialog that the problem occurs,
    and only on IE.


    Here is the code:
    Code:
    package com.IEFileUploadFieldBug.client;
    
    import com.extjs.gxt.ui.client.Style;
    import com.extjs.gxt.ui.client.event.ButtonEvent;
    import com.extjs.gxt.ui.client.event.SelectionListener;
    import com.extjs.gxt.ui.client.widget.Dialog;
    import com.extjs.gxt.ui.client.widget.button.Button;
    import com.extjs.gxt.ui.client.widget.form.FileUploadField;
    import com.extjs.gxt.ui.client.widget.form.FormPanel;
    import com.extjs.gxt.ui.client.widget.layout.FitLayout;
    import com.google.gwt.core.client.EntryPoint;
    import com.google.gwt.user.client.ui.RootPanel;
    
    
    public class IEFileUploadFieldBug implements EntryPoint {
    
        private Dialog dialog = new Dialog();
    
        public void onModuleLoad() {
            createUploadDialog();
            final Button button = new Button("Click me");
            button.addSelectionListener(new SelectionListener<ButtonEvent>() {
                @Override
                public void componentSelected(ButtonEvent buttonEvent) {
                    dialog.show();
                }
            });
            RootPanel.get().add(button);
        }
    
        private void createUploadDialog() {
            dialog.setHeading("Upload a file");
            dialog.setMinWidth(350);
            dialog.setMinHeight(150);
            dialog.setModal(true);
            dialog.setLayout(new FitLayout());
            dialog.setButtons(Dialog.OKCANCEL);
    
            FormPanel uploadForm = new FormPanel();
            uploadForm.setHeaderVisible(false);
            uploadForm.setAction("/upload");
            uploadForm.setEncoding(FormPanel.Encoding.MULTIPART);
            uploadForm.setMethod(FormPanel.Method.POST);
            uploadForm.setButtonAlign(Style.HorizontalAlignment.CENTER);
    
            FileUploadField fileUpload = new FileUploadField();
            fileUpload.setEmptyText("No file chosen");
            fileUpload.setName("myFile");
            fileUpload.setFieldLabel("upload");
    
            uploadForm.add(fileUpload);
            dialog.add(uploadForm);
        }
    }
    Thanks
    Carl

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


    I was able to reproduce this and i will look into it

  6. #6
    Ext User
    Join Date
    Mar 2010
    Posts
    6
    Vote Rating
    0
    carl.cronje@gmail.com is on a distinguished road

      0  

    Default


    Hi Sven

    Can you tell me if I am doing something wrong?

    If you need anything else, please let me know.

    Thanks
    Carl

  7. #7
    Sencha User
    Join Date
    Nov 2010
    Posts
    4
    Vote Rating
    0
    vortex-5 is on a distinguished road

      0  

    Default


    I'm interested in knowing this as well.

  8. #8
    Ext User
    Join Date
    Mar 2010
    Posts
    6
    Vote Rating
    0
    carl.cronje@gmail.com is on a distinguished road

      0  

    Default


    Hi vortex-5

    Did you also put a FileUploadField in a Dialog?

    Carl

  9. #9
    Sencha User
    Join Date
    Nov 2010
    Posts
    4
    Vote Rating
    0
    vortex-5 is on a distinguished road

      0  

    Default


    No actually I think ours in in a normal panel.

  10. #10
    Ext GWT Premium Member
    Join Date
    Apr 2008
    Posts
    34
    Vote Rating
    0
    chicagoarchitect is on a distinguished road

      0  

    Default


    I am also experiencing the same problem of the 2 clicks requirement in IE. I'm testing in IE 7. Has there been an update on this?

Similar Threads

  1. Browser -Compatability Issue
    By nidhi.patel in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 20 Oct 2010, 4:25 AM
  2. Iphone, android, webOS and Blackberry compatability breakdown
    By oliverashford in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 23 Aug 2010, 11:16 PM
  3. core example menu browser compatability
    By dgerhard in forum Ext: Q&A
    Replies: 0
    Last Post: 30 Jul 2010, 4:12 PM
  4. FileUploadField and IE
    By cupakob in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 17 Jun 2010, 1:46 AM
  5. FileUploadField
    By peternorman in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 3 Feb 2009, 12:48 PM

Thread Participants: 4

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