Good job..I'm also working on a framework which will provide databinding for
GWT.
It's actually a passive view implementation, It comes with model, controller
and some view interfaces implemented in pure java, the view part is
abstract, so that one can implement it for GWT, Swing, SWT or any other java
widget toolkit. I managed to implement some basic views for swing (for
JTable and JTextField), and now I'm implementing the same views on GWT. I
succefully implemented a view for TextBox so that I could bind it to a
String model and now I'm working on a data grid which will be bound to a
List of objects.
As soon as I have something better, with more views, I plan to write a more
detailed arcticle and publish it.

2008/11/4 [EMAIL PROTECTED] <[EMAIL PROTECTED]>

>
> 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