Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
Scripting JSP 2.0.18
-
None
-
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