Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    6
    Vote Rating
    0
      0  

    Default 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
      0  

    Default Issue Resolved - in my particular usecase :)

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

    Regards
    -Amit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •