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

Introduce a proper "webjars" type instead of reusing the "bin" type

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 7.1-milestone-1
    • 6.0-milestone-1
    • Resource, Webjar
    • None
    • Unit
    • Unknown

    Description

      Right now we've reusing the "bin" type because our web.xml already routes it to the XWikiServlet. In the future we need to allow adding new types and have them automatically routed properly without declaring them in the web.xml file.

      This means moving from (for example):
      /xwiki/bin/webjars/resources/path?value=bootstrap/3.2.0/css/style.css

      To:
      /xwiki/webjars/bootstrap/3.2.0/css/style.css

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: