-
Nov 9th, 2006, 02:43 AM
#1
binding / calendar
Hello,
Is there a calendar / FormattedTextfield (or another component) in the binding module ?
If none, how should I do ?
I think it should work like this :
- define new converters (CalendarToText and TextToCalendar)
- add these new ones converter to the conversionservice.
- define a new Binder / binding
- add these new ones to the BinderSelectionStrategy
Is that correct ?
Christophe.
-
Nov 9th, 2006, 07:17 AM
#2
binding / calendar
Please explore petclinic sample's application context and it's binderSelectionStrategy bean which contains an entry
<entry>
<key>
<value type="java.lang.Class">java.util.Date</value>
</key>
<bean class="org.springframework.richclient.form.binding .swing.NachoCalendarDateFieldBinder"/>
</entry>
Regards,
Prashant
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules