Hi all,

Pectin 0.8 has finally been released and contains quite a number of
additions and improvements. Most notably the new release includes:

* Binders now works on any Value/ListModel and not just with
FormModels.
E.g. binder.bind(MutalbeValueModel<T>).to(HasValue<T>)  // or
to(ValueTarget<T>) or ParameterisedCommand<T> etc.
* Binder also support binding to HasText & HasHTML
  * binder.bind(ValueModel<T>).toTextOf(HasText)
  *
binder.bind(ValueModel<T>).toHtmlOf(HasHTML).withFormat(Format<T>);
* And support show/hide/enable/disable directly
  * binder.show(UiObject).when(ValueModel<Boolean>)
  * binder.hide(Element).when(ValueModel<Boolean>)

* Bean binding now supports nested property paths.  I.e. You can now
go:
  fieldOfType(String.class).boundTo(provider, "address.postCode");
  or
  ValueModel<String> postCode =
provider.getValueModel("address.postCode", String.class);

* UiCommands have been improved and include new exception handlers.
* New support for computed models outside of forms e.g. ValueModel<T>
v =  Functions.computedFrom(ListModel<S>).using(Reduce<T,S>)
* Interceptors now have thier own package
* New InterceptedValueModels that use the above.

There's quite a lot more to the above changes and you can read the
details at:
http://code.google.com/p/gwt-pectin/wiki/ReleaseNotes

There's also more details of the future direction in:
http://code.google.com/p/gwt-pectin/wiki/FutureFeaturesAndDesignIdeas

Cheers
Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to