Hi, I started porting Beans Binding (JSR 295) (https:// beansbinding.dev.java.net/) to GWT.
http://code.google.com/p/gwt-beans-binding/ Still not implemented is the EL library & ELProperty, but BeanProperty works like expected. For reflection I use a GWTx based generator that will create the BeanInfo of all classes that implement BeanAdaptor: import java.beans.PropertyChangeListener; public interface BeanAdapter { void addPropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener); void addPropertyChangeListener(String property, PropertyChangeListener listener); void removePropertyChangeListener(String property, PropertyChangeListener listener); } by only adding: static { try { GWT.create(BeanAdapter.class); } catch (Throwable t) { // GWT.log(t.getMessage(), t); } } to the module class. Additional adapters for use by the BeanProperty can be registered with: BeanAdapterFactory.addProvider(new TextBoxAdapterProvider()); See demo code at: http://code.google.com/p/gwt-beans-binding/source/browse/trunk/src/org/gwt/beansbinding/client/Main.java Kind Regards, George. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
