Uploaded image for project: 'XWiki MS Office Integration'
  1. XWiki MS Office Integration
  2. XOFFICE-90

Update groovy code to get components depending on xwiki version

    XMLWordPrintable

Details

    • Task
    • Resolution: Incomplete
    • Major
    • 1.0 M3
    • 1.0 M2
    • None
    • None

    Description

      As of March 2009 xwiki components are using adnotations.
      The groovy page should check the version of the wiki and call com.xpn.xwiki.web.Utils.getComponent with:

      • Component.ROLE as first parameter for versions prior to 1.9 M1
      • Component.class as first parameter for newer versions.

      Attachments

        Activity

          People

            florin_c Florin Ciubotaru
            florin_c Florin Ciubotaru
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: