Hi folks! I spent hours to try to resolve an error that only happen in IE7. In IE9, Chome and Firefox works fine, so I think perhaps is a bug. Is related with DataGrid and change places. The error happen when you change via placeController.goTo(place) to a place where I have a datagrid.
I make a sample to reproduce, it have 2 places, a default place and another place. I put in the sample a menu with an option to go to the second place. If you start the application (mvn jetty:deploy-war) you put in the browser the next URL: http://localhost:8080/myapp-web/ to start the application. Then click View with Datagrid -> Go to place in menu to go to the place where have the datagrid. If press the link, in the url show http://localhost:8080/myapp-web/#ConsultarDDJJPlace: but nothing show. If refresh the page the datagrid shows. Same steps in another browser show the datagrid, so I suppose is a bug. IE7 doesn't show an error. I attach the sample. It doesn't have any dependency, only GWT 2.4. To run do mvn package the first time, then mvn jetty:deploy-war. Can someone help me with this error? I try and I can't see what happen, becouse it works when refresh or start the application with: http://localhost:8080/myapp-web/#ConsultarDDJJPlace. I put relevant code: 1) Presenter public class Presenter extends AbstractActivity { public interface Display extends IsWidget { DataGrid<String> getResultTable(); } private final Display vista; public ConsultarDDJJPresenter(Display vista) { this.vista = vista; } @Override public void start(final AcceptsOneWidget panel, EventBus eventBus) { configurarColumnasDeTabla(); panel.setWidget(vista.asWidget()); } private void configurarColumnasDeTabla() { TextColumn<String> id = new TextColumn<String>() { @Override public String getValue(String s) { return s; } }; vista.getResultTable().addColumn(id, "col"); } View: public class ConsultarDDJJVista extends Composite implements Display { interface DeclaracionesJuradasListaUiBinder extends UiBinder<Widget, ConsultarDDJJVista> { } private static DeclaracionesJuradasListaUiBinder uiBinder = GWT .create(DeclaracionesJuradasListaUiBinder.class); @UiField(provided = true) final DataGrid<String> resultTable = new DataGrid<String>(); public ConsultarDDJJVista() { initWidget(uiBinder.createAndBindUi(this)); } public DataGrid<String> getResultTable() { return resultTable; } } <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:c="urn:import:com.google.gwt.user.cellview.client"> <ui:style> .grid { height: 450px; } </ui:style> <g:VerticalPanel addStyleNames='mainPanel'> <g:DockLayoutPanel unit="PX" addStyleNames="{style.grid}" > <g:center> <c:DataGrid ui:field="resultTable" /> </g:center> </g:DockLayoutPanel> </g:VerticalPanel> </ui:UiBinder> PD: Sorry my english. -- 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-toolkit@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.