here
com.google.gwt.user.client.rpc.SerializationException: could not get type signature for class com.webgocommerce.client.beanproxy.BdEmpresaProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory$1
El jueves, 30 de abril de 2015, 9:41:08 (UTC-5), Jonathan Franchesco Torres Bca escribió:
Hi,--
i want to use beanproxy with rpc.something like that
public class UIBdEmpresaImpl extends UIBdEmpresa {
private final ServiceExportarAsync servicioExportar = GWT.create(ServiceExportar.class); I have in following error:
private UIHomeBdEmpresa uiHomeBdEmpresa;
public UIBdEmpresaImpl(UIHomeBdEmpresa uiHomeBdEmpresa) {
this.uiHomeBdEmpresa=uiHomeBdEmpresa;
loadTable();
}
@Override
public void loadTable() {
popup.showPopup();
ContextMantenimientoBdEmpresa context = FACTORY.contextMantenimientoBdEmpresa( );
FACTORY.initialize(EVENTBUS);
String keyPublic = UISesion.keyPublic;
Request<List<BdEmpresaProxy>> request = context.listar(keyPublic);
request.fire(new Receiver<List<BdEmpresaProxy>>() {
@Override
public void onSuccess(List<BdEmpresaProxy> response) {
grid.getSelectionModel().clear();
grid.setData(response);
popup.hidePopup();
//lstBdEmpresa.setData(grid.getData());
}
@Override
public void onFailure(ServerFailure error) {
popup.hidePopup();
//Window.alert(error.getMessage());
Notification not=new Notification(Notification.WARNING,error.getMessage());
not.showPopup();
}
});
}
@Override
public void exportarData() {
servicioExportar.exportar(grid.getData(),new AsyncCallback<Void>() {
@Override
public void onFailure(Throwable caught) {
GWT.log(caught.getMessage(), caught);
}
@Override
public void onSuccess(Void result) {
}
});
}
public class GridBdEmpresa extends DataGrid<BdEmpresaProxy> {
private List<BdEmpresaProxy> data = new ArrayList<BdEmpresaProxy>();
...
public List<BdEmpresaProxy> getData() {
return data;
}
....
}
com.webgocommerce.client.beanproxy. BdEmpresaProxyAutoBean_com_ google_web_bindery_ requestfactory_shared_impl_ EntityProxyCategory_com_ google_web_bindery_ requestfactory_shared_impl_ ValueProxyCategory_com_google_ web_bindery_requestfactory_ shared_impl_BaseProxyCategory
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment