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

Be able to specify class field hints / descriptions when using ConfigurableClass

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0
    • Fix Version/s: 7.1-milestone-1
    • Component/s: Administration
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The current ConfigurableClass mechanism reads a field's pretty name and properly translates it.

      However, if we want to add hints / descriptions to those fields, we can't really use the standard ConfigurableClass mechanism and we have to rewrite the entire form just for this.

      The proposal is to look for translations of the following format: Space.ApplicationClass_fieldName.hint
      If found, they should be displayed using the xHint xform class.

      Note that some sections that are using an older XWiki.AdminFieldsDisplaySheet to customly display themselves are also applying the same logic.

        Attachments

          Activity

            People

            • Assignee:
              enygma Eduard Moraru
              Reporter:
              enygma Eduard Moraru
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: