View Full Version : DatePicker [GWT 2.2.0 - Ext for GWT] does not open up in IE8

4 Jul 2012, 11:51 PM
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();

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

5 Jul 2012, 4:11 AM
The fix –> replaced “scrollbars=yes” with “scrollbars=auto” while invoking window.open ().