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

Allow to inject Javascript / CSS in Notification Displayer

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 12.2
    • 11.10.3
    • Notifications
    • None
    • Unit
    • Unknown

    Description

      It is possible to use a specific displayer for Notification (see: https://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20API/#HNotificationDisplayer) but apparently we cannot use Skin Extension Plugin in those displayer with the current mechanism.
      The Notification are first computed as Block which is then injected in the HTML: so the Skin Extension Plugin cannot inject the needed resources in the headers since they don't exist in the first produced HTML framents.

      It prevents from using Notification with other usecases such as dedicated buttons on them.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: