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

Allow to specify the default property display mode

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5 M1
    • Fix Version/s: 1.5 M2
    • Component/s: {Unused} APIs
    • Labels:
      None
    • Tests:
      Integration
    • Similar issues:

      Description

      When using $doc.display("field"), the display mode depends on the action ("edit" for "/inline/", "view" in all other cases). The use should be able to manually specify a default display mode, using $context.setDisplayMode("mode").

        Attachments

          Activity

            People

            Assignee:
            sdumitriu Sergiu Dumitriu
            Reporter:
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: