Sling
  1. Sling
  2. SLING-2260

add support for tag files that are distributed as part of a OSGi bundle

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Scripting JSP 2.0.18
    • Fix Version/s: None
    • Component/s: Scripting
    • Labels:
      None

      Description

      Given a bundle that defines a tag library:

      META-INF/example.tld

      <?xml version = '1.0' encoding = 'windows-1252'?>
      <taglib xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsichemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
      version="2.1" xmlns="http://java.sun.com/xml/ns/javaee">
      <description>Tag File Example where the tag files are contained inside a bundle</description>
      <display-name>example</display-name>
      <tlib-version>1.0</tlib-version>
      <short-name>example</short-name>
      <uri>http://example.com</uri>

      <tag-file>
      <name>foo</name>
      <path>/META-INF/tags/foo.tag</path>
      </tag-file>
      </taglib>

      I want something like:

      <%@ taglib uri="http://something.com" prefix="s"%>
      <s:foo />

      to work and render the tag files contained in the bundle as defined in the tld of "http://example.com" tag library.

      This is similar to SLING-2138, but in this case we actually want to use a tag library that is being shared among sling and non-sling projects

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Martin Petrovsky
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development