1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    6
    Vote Rating
    0
    amits_thread is on a distinguished road

      0  

    Default Unanswered: DatePicker [GWT 2.2.0 - Ext for GWT] does not open up in IE8

    Unanswered: DatePicker [GWT 2.2.0 - Ext for GWT] does not open up in IE8


    The problem is more specific when the GWT UI is placed inside a jsp.

    <div id="ptc_setEffectivityRangePicker_div"></div> is used in setEffectivityRangeWizStep.jsp which houses the GWT Widget created through SetEffectivityRangePickerController.java

    RootPanel div = RootPanel.get("ptc_setEffectivityRangePicker_div");
    DateField dateField = new DateField();
    div.add(dateField);

    After debugging the GWT extjs source code - It is the com.extjs.gxt.ui.client.widget.form.DateField class that reacts to a windowresize event which eventually triggers the hiding in IE8 only. The onWindowResize which hides the DatePicker is on the DateMenu class which is a private field in DateField.java

    I also tried overriding other methods to try some luck but nothing worked – overrode methods viz. onResize, onAttach etc.. but the code flow control always ends up with onWindowResize of DateMenu.

    Is this a bug ? If yes how can I actually stop the onWindowResize from being called in IE8 ?

    Thanks in advance
    -Amit

  2. #2
    Sencha User
    Join Date
    Jun 2012
    Posts
    6
    Vote Rating
    0
    amits_thread is on a distinguished road

      0  

    Default Issue Resolved - in my particular usecase :)

    Issue Resolved - in my particular usecase :)


    The fix –> replaced “scrollbars=yes” with “scrollbars=auto” while invoking window.open ().

    Regards
    -Amit