I am getting this behavior with any PopupPanel in IE7, and it is a real killer. I've been moving a 1.71 app to 2.0.0 and in the process changed from DockPanel to DockLayoutPanel. I've tried every DOCTYPE I can think of and nothing will change the behavior. Any new insight into this one?
On Jan 13, 2:39 am, Jorge <jsle...@gmail.com> wrote: > Issac and Upendra, > > Thank you for your response. > > I don't seem to find any white overlay, when the popup shows GWT adds > an Iframe and a div, I understand that the Iframe is there to make the > popup draw over such elements as Select inputs and it's positioned > exactly surrounding the popup. The div contains the suggestions. > > I have replicated the same problem in various ways, in IE7 and IE8 > compatibility mode, for example, with a DialogBox, if I call center() > first and then show() all goes blank but the DialogBox, if I call > first show() and then center() every works fine. In the mail sample > (2.0) they are called in that order, and if I swap them also goes > blank. > > Another blank screen appears also when I use ListGrid from SmartGwt, > that has a little popup to sort the columns, I was running a sample > code. > > The problem only is caused when attaching widgets to RootLayotPanel > and using Standards Mode. If I use RootPanel, everything works. My BIG > problem is that I'm using DockLayoutPanels and UiBinder to layout the > application. > > The folowing code causes the problem, hope it can be more > illustrative. Here I'm not using UiBinder, just a few lines of code to > generate and populate the DockLayoutPanel > > -------------------------------------------------- > Test.java > -------------------------------------------------- > > package test.client; > import com.google.gwt.core.client.EntryPoint; > import com.google.gwt.dom.client.Style.Unit; > import com.google.gwt.user.client.ui.DockLayoutPanel; > import com.google.gwt.user.client.ui.Label; > import com.google.gwt.user.client.ui.MultiWordSuggestOracle; > import com.google.gwt.user.client.ui.RootLayoutPanel; > import com.google.gwt.user.client.ui.SuggestBox; > > public class Test implements EntryPoint { > > public void onModuleLoad() { > DockLayoutPanel main = new DockLayoutPanel(Unit.EM); > //Some text > Label text = new Label("This text is going to dissapear"); > text.setStyleName("big-text"); > main.addNorth(text,20); > //SuggestBox > MultiWordSuggestOracle oracle = new MultiWordSuggestOracle(); > oracle.add("Cat"); > oracle.add("Dog"); > oracle.add("Bird"); > SuggestBox suggest = new SuggestBox(oracle); > main.add(suggest); > RootLayoutPanel.get().add(main); > > } > > } > > -------------------------------------------------- > Test.html > -------------------------------------------------- > <!DOCTYPE HTML > > <html> > <head> > <meta http-equiv="content-type" content="text/html; > charset=UTF-8"> > <title>Test</title> > <style>.big-text{font-size:20px;}</style> > <script type="text/javascript" language="javascript" src="test/ > test.nocache.js"></script> > </head> > <body></body> > </html> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.