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

Make it easy to implement a document-based configuration source that falls back on the main wiki

    XMLWordPrintable

Details

    • Unit
    • Medium
    • N/A
    • N/A

    Description

      Currently it's easy to implement a document-based configuration source component that looks in the current wiki: simply extend AbstractDocumentConfigurationSource and implement 3 methods to return the configuration document reference, class reference and cache id.

      If you want to fall-back on the main wiki then currently you need to implement 2 configuration sources: one that looks in the current wiki and one that looks in the main wiki. Moreover, you need to implement the fall-back yourself, inside your configuration component.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: