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

Add the ability to create UI extensions in skins templates

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 7.3
    • UI Extension
    • Unknown

    Description

      We are making our UI more and more with extension points. That's a good thing. But it's a bit difficult to mix UI extensions with static code defined in templates.

      Example: https://github.com/xwiki/xwiki-platform/blob/6203f795144fad76f9607000b3ad0adf2291efef/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/menus_content.vm#L59-59

      A simpler method would be to allow the creation of a UI extensions directly in the templates (either in /templates or in /skins), so that it would be very easy to mix both UI code.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gdelhumeau Guillaume Delhumeau
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: