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

Create Display macro

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Duplicate
    • Major
    • None
    • 2.0 M1
    • Display
    • None
    • Unknown

    Description

      In order to replace the calls to $doc.display().

      Thomas said:

      For XWikiDocument.display() an idea would be to introduce a display macro to replace call to doc/obj.display and deprecate doc/obj.display methods:

      • it's executed at XDOM level so it will work for any syntax
      • no need to use velocity anymore to print a field of a doc or object
      • will be easier to add more displayers in the future as components

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: