Closed GoogleCodeExporter closed 9 years ago
CellTable are not supported yet, but I'm working on it right now (it's the
current feature in the Roadmap)
Stay tuned, it will be available soon ;-)
Original comment by gael.laz...@gmail.com
on 3 Oct 2011 at 11:47
Do you have any workarounds i can use while you are still working on the
feature?
Currently my test code fails because i try to set a CellTable into a
SimplePanel.setWidget()
My error:
java.lang.NullPointerException
at com.octo.gwt.test.utils.GwtReflectionUtils.getPrivateFieldValue(GwtReflectionUtils.java:254)
at com.octo.gwt.test.internal.patchers.dom.JavaScriptObjects.getJsoProperties(JavaScriptObjects.java:294)
at com.octo.gwt.test.internal.patchers.dom.JavaScriptObjects.getJsoProperties(JavaScriptObjects.java:304)
at com.octo.gwt.test.internal.patchers.dom.JavaScriptObjects.getBoolean(JavaScriptObjects.java:149)
at com.octo.gwt.test.internal.patchers.dom.PotentialElementPatcher.isPotential(PotentialElementPatcher.java:29)
at com.octo.gwt.test.internal.patchers.dom.PotentialElementPatcher.resolve(PotentialElementPatcher.java:34)
at com.google.gwt.user.client.ui.PotentialElement.resolve(PotentialElement.java)
at com.google.gwt.user.client.DOM.appendChild(DOM.java:70)
at com.google.gwt.user.client.ui.SimplePanel.setWidget(SimplePanel.java:158)
at com.nordea.savings.common.client.pie.PieWithLegendView.setLegend(PieWithLegendView.java:56)
Original comment by jesperrr@gmail.com
on 15 Nov 2011 at 8:44
I just try this in the CellTable unit test :
http://code.google.com/p/gwt-test-utils/source/browse/src/framework/trunk/gwt-te
st-utils/src/test/java/com/octo/gwt/test/CellTableTest.java :
I added this code at the end of the @Before method :
SimplePanel panel = new SimplePanel();
panel.setWidget(table);
The test still pass.
If you're using GWT 2.3, could you please give gwt-test-utils-0.33.1-SNAPSHOT a
try ?
Original comment by gael.laz...@gmail.com
on 16 Nov 2011 at 6:22
I just realize that you have PotentialElement reference in your stacktrace, so
I guess you're using GWT 2.4.0.
I think the lastest 0.35-SNAPSHOT version, which include the support for
CellTable should fix the problem.
Could you please give it a try and give me some feedback so I could definitly
close this issue ?
Original comment by gael.laz...@gmail.com
on 29 Nov 2011 at 3:02
Original issue reported on code.google.com by
emmettbo...@gmail.com
on 30 Sep 2011 at 3:37