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

                 Key: SLING-2260
                 URL: https://issues.apache.org/jira/browse/SLING-2260
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Scripting JSP 2.0.18
            Reporter: Martin Petrovsky


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to