Uploaded image for project: 'XWork'
  1. XWork
  2. XW-297

Type Converters Can't Be Set On Nested Properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.5
    • 1.2
    • None
    • None
    • Windows XP, JDK 1.4.2_03

    Description

      If I have an action with a bean as a field, I can't set validators for fields of the bean. For example, If I have an action FooAction with a field called bar, which in turn has a field called baz, I can't put the following in FooAction-conversion.properties:

      bar.baz=my.special.Converter

      If I try the above, my TypeConverter is never called. If FooAction has a field called bim, putting the following in FooAction-conversion.properties is ok:
      bim=my.special.Converter

      This is in stark contrast to the validation framework which allows quite nicely the registration of field validators on the field baz.bar.

      Attachments

        Activity

          People

            plightbo Patrick Lightbody
            seifertd Doug Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: