Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20140

Give more control on the serialization of macro parameter of type enum

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 14.8-rc-1
    • None
    • Unknown

    Description

      Currently, enum/edit.vm is used to generate the form field of macro parameters of type Enum.

      The .name() method is used to generate the values of the different enum options.

      Those values are usually uppercase (but the EnumConverter is case insensitive), so while it's possible to write them in lower case in wiki syntax, they are uppercase using CKEditor for instance.

      It could be nicer to provide a way to allow these options to be lower-cased by default.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: