Results 1 to 2 of 2

Thread: binding / calendar

  1. #1
    Join Date
    Aug 2005
    Location
    Clermont-Ferrand / France
    Posts
    21

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

  2. #2
    Join Date
    Jun 2005
    Posts
    28

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