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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 7.1.1
    • Old Core
    • None
    • Unknown

    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

              Unassigned Unassigned
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: