Tuesday, January 31, 2012

Facing exception: java.lang.RuntimeException: Deferred binding failed for 'com.google.test.client.CustomDataGridResources' (did you forget to inherit a required module

Hello All,

I have created the interface

import com.google.gwt.user.cellview.client.DataGrid;
import com.google.gwt.user.cellview.client.DataGrid.Resources;
import com.google.gwt.user.cellview.client.DataGrid.Style;


public interface CustomDataGridResources extends Resources {

       
   @Source("../public/css/necComponent.css")
    Style dataGridStyle();

}

}

In my other class in the same package i have used like this:

DataGrid.Resources resources = GWT.create(CustomDataGridResources.class);
dataGrid = new DataGrid<T>(40, resources);

In my xml file i have written like this:

<inherits name='com.google.gwt.user.User'/>
<inherits name="com.google.gwt.user.cellview.CellView"/>


but i am facing the  exception

java.lang.RuntimeException: Deferred binding failed for 'com.google.test.client.CustomDataGridResources' (did you forget to inherit a required module)



Regards,
vaibhav

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment