You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Hi all,
I started working with editor framework. I created project for editor with plain old java object. so it's working fine.
Following code is for simple Email class which run fine.
public class Editor implements EntryPoint {
// final ClientGinjector ginjector = GWT.create(ClientGinjector.class); interface Driver extends SimpleBeanEditorDriver<Email, SubEditor>{} @Override public void onModuleLoad() {
final Driver driver = GWT.create(Driver.class);
final SubEditor f = new SubEditor();
driver.initialize(f); driver.edit(new Email());
RootPanel.get().add(f);
Button button = new Button("Get Data"); RootPanel.get().add(button);
button.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent arg0) { Email e = driver.flush(); System.out.println( "Email..."+e.getEmail()); } });
}
But Now I need to work with plain old java interface. For example Email is interface here. So am not able to pass object to driver.edit() function. It give Exception like : Deferred binding result type 'com.example.editor.client.Email' should not be abstract So can anybody help me in that.