Hello,

There's another data binding library that's being worked on here:
http://code.google.com/p/gwt-data-binding/

Data binding was discussed in some length on GWTC here:
http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/9242295c5e2cb5c5/609ae3692db0f3e9.
It culminated in Ian Petersens creating the project above (which he
has used internally).

Regards,
--
Arthur Kalmenson



On Tue, Nov 4, 2008 at 10:12 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to