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

Add support for type conversion in xwork.xml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0
    • 1.2
    • Configuration
    • None

    Description

      The DTD specifies a "converter" attribute for action. In ActionConfig comments it is also mentioned in comments as converter name. However the support is not working.

      A nice improvement would be to be able to specify custom TypeConverter per action in the xml config, and specify default converter to be used (in webwork.properties, or in xwork.xml, like the tag existing for default interceptor stack)

      I'd suggest also moving the support for type conversion from properties files to xwork.xml (as sometimes having to maintain i18n bundles, validation xml file, action java code, views code and converter properties starts to be too many),while the experience shows, that with each change xwork.xml tends to be getting more concise and readable (at least IMO)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mucher Grzegorz Mucha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: