Revision: 1218
Author:   ge0ffrey
Date:     2006-06-28 09:35:01 -0700 (Wed, 28 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/spring-rich-c/?rev=1218&view=rev

Log Message:
-----------
nachocalendar binding example in petclinic

Modified Paths:
--------------
    trunk/spring-richclient/samples/petclinic/gui/pom.xml
    
trunk/spring-richclient/samples/petclinic/gui/src/main/resources/org/springframework/richclient/samples/petclinic/ctx/common/richclient-application-context.xml
Modified: trunk/spring-richclient/samples/petclinic/gui/pom.xml
===================================================================
--- trunk/spring-richclient/samples/petclinic/gui/pom.xml       2006-06-28 
13:00:31 UTC (rev 1217)
+++ trunk/spring-richclient/samples/petclinic/gui/pom.xml       2006-06-28 
16:35:01 UTC (rev 1218)
@@ -83,6 +83,10 @@
             <groupId>org.jdesktop</groupId>
             <artifactId>jdnc</artifactId>
         </dependency>
+        <dependency>
+            <groupId>net.sf.nachocalendar</groupId>
+            <artifactId>nachocalendar</artifactId>
+        </dependency>
 
         <!-- Validation -->
         <dependency>

Modified: 
trunk/spring-richclient/samples/petclinic/gui/src/main/resources/org/springframework/richclient/samples/petclinic/ctx/common/richclient-application-context.xml
===================================================================
--- 
trunk/spring-richclient/samples/petclinic/gui/src/main/resources/org/springframework/richclient/samples/petclinic/ctx/common/richclient-application-context.xml
     2006-06-28 13:00:31 UTC (rev 1217)
+++ 
trunk/spring-richclient/samples/petclinic/gui/src/main/resources/org/springframework/richclient/samples/petclinic/ctx/common/richclient-application-context.xml
     2006-06-28 16:35:01 UTC (rev 1218)
@@ -74,15 +74,24 @@
         
class="org.springframework.richclient.form.binding.swing.SwingBinderSelectionStrategy">
         <property name="bindersForPropertyTypes">
             <map>
-<!--                <entry>
+                <!--
+                <entry>
                     <key>
                         <value type="java.lang.Class">java.util.Date</value>
                     </key>
                     <bean 
                         
class="org.springframework.richclient.samples.petclinic.ui.binder.CustomDatePickerBinder"/>
-                </entry>-->
+                </entry>
+                -->
                 <entry>
                     <key>
+                        <value type="java.lang.Class">java.util.Date</value>
+                    </key>
+                    <bean
+                        
class="org.springframework.richclient.form.binding.swing.NachoCalendarDateFieldBinder"/>
+                </entry>
+                <entry>
+                    <key>
                         <value type="java.lang.Class"> 
                             
org.springframework.samples.petclinic.PetType</value>
                     </key>


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