GWTP and GWT Editor

66 views
Skip to first unread message

sampath sai

unread,
Feb 23, 2012, 5:08:15 PM2/23/12
to GWTP
below code is not working

interface Driver extends RequestFactoryEditorDriver<ContactsProxy,
ContactCUDEditor> {
}



when i am intialising, i am not able to/
driver = GWT.create(Driver.class);

driver.initialize(requestFactory,getView().asWidget() );

Does any one as sample or pointers ... please help.

Fabian Gebert

unread,
Feb 23, 2012, 6:17:06 PM2/23/12
to gwt-pl...@googlegroups.com
the way you should do it is the following:

1. let the View extends the Editor interface
2. declare all editors in the View and provide them with your ViewImpl
3. have your Driver extends RFED<XXProxy, View>

that's the way it will work!

Reply all
Reply to author
Forward
0 new messages