Revision: 1338
Author:   ge0ffrey
Date:     2006-08-23 03:04:46 -0700 (Wed, 23 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/spring-rich-c/?rev=1338&view=rev

Log Message:
-----------
closures of renderers and editors

Modified Paths:
--------------
    trunk/spring-richclient/src/site/apt/user/upgrading.apt
Modified: trunk/spring-richclient/src/site/apt/user/upgrading.apt
===================================================================
--- trunk/spring-richclient/src/site/apt/user/upgrading.apt     2006-08-23 
08:49:31 UTC (rev 1337)
+++ trunk/spring-richclient/src/site/apt/user/upgrading.apt     2006-08-23 
10:04:46 UTC (rev 1338)
@@ -267,6 +267,26 @@
     The field type can be any type as long as a converter is available to 
convert instances of <<<Object[]>>> to the field type and 
     the field type to <<<Object[]>>>.
 
+    Rename <<<ComboBoxBinder.SELECTABLE_ITEMS_HOLDER_KEY>>> to 
<<<ComboBoxBinder.SELECTABLE_ITEMS_KEY>>>.
+
+    If you used custom renderers or editors, update them to use closures and 
pass the value:
+
++--
+    context.put(ComboBoxBinder.EDITOR_KEY, new 
BeanPropertyValueComboBoxEditor("fullName"));
++--
+
+    changes into:
+
++--
+    context.put(ComboBoxBinder.EDITOR_KEY, new Closure() {
+        public Object call(Object value) {
+            return new BeanPropertyValueComboBoxEditor((ComboBoxEditor) value, 
"fullName");
+        }
+    });
++--
+
+    * Spring binding jar updated. Note that this jar is not part of the spring 
jars or the spring-richclient jars.
+
 pre-0.1.0 to 0.1.0
 
     * Switch from CVS with ANT to Subversion with Maven 2:


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to