Release: Isomorphic SmartClient Framework (SC_SNAPSHOT-2011-11-
16/PowerEdition Deployment 2011-11-16)
We're getting the following error after applying this release:
java.lang.String cannot be cast to com.smartgwt.client.types.EditCompletionEvent
at com.smartgwt.client.widgets.grid.events.EditorExitEvent.getEditCompletionEvent(EditorExitEvent.java)
Our code is as follows:
The error occurs in event.getEditCompletionEvent().getValue().
It happens as the user exits a cell for a ListGrid.
Any thoughts?
Thanks
16/PowerEdition Deployment 2011-11-16)
We're getting the following error after applying this release:
java.lang.String cannot be cast to com.smartgwt.client.types.EditCompletionEvent
at com.smartgwt.client.widgets.grid.events.EditorExitEvent.getEditCompletionEvent(EditorExitEvent.java)
Our code is as follows:
Code:
protected static final String ESCAPE = "escape"; ... ListGridField componentItemNumber = new ListGridField(PACK_COMPONENT_ITEM_NUMBER); ... componentItemNumber.addEditorExitHandler(new EditorExitHandler() { @Override public void onEditorExit(final EditorExitEvent event) { if (ESCAPE==event.getEditCompletionEvent().getValue()) return; ... } });
It happens as the user exits a cell for a ListGrid.
Any thoughts?
Thanks
Comment