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

Add a new "velocity" value for the "contenttype" TextArea meta-property to display velocity code in an XObject's property

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.1.1
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      We have many cases when we store velocity content in XObjects. They are usually stored in TextArea fields but have no displayers so they need to be parsed by the calling application.

      There already exists a "velocitycode" value for the "contenttype" meta-property of a TextArea, but it is only used if the XObject's document is in 1.0 syntax and to display it with XWiki.parseContent(), which is not nice.

      This new value should be handled with the VelocityManager/Engine and nothing more.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: