Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-52658

As a developer I want to deploy JSP taglibs as re-usable osgi bundles which I can consume from JSPs

    Details

      Description

      Tag Provider Bundle

      An osgi bundle containing JSP tag tlds and classes should express their capability to provide JSP tags using a Provide-Capability manifest header in the form

      Provide-Capability: osgi.extender;osgi.extender="jsp.taglib";version:Version="7.0.0";uri="<uri of the tag library>"
      

      A bundle providing several tag libraries would use multiple capabilities, like so:

      Provide-Capability: osgi.extender;osgi.extender="jsp.taglib";version:Version="7.0.0";uri="http://uri/one", osgi.extender;osgi.extender="jsp.taglib";version:Version="7.0.0";uri="http://uri/two"
      

      Consumer or Client Bundle

      An osgi bundle containing JSPs which use the tag libraries provided by a taglib provider bundle use a Require-Capability manifest header, in the form:

      Require-Capability: osgi.extender;filter:="(&(osgi.extender=jsp.taglib)(uri=http://uri/one))"
      

      The Liferay JSP Compiler which provides support for JSPs identifies a JSP consumer bundle's jsp.taglib Required-Capabilities and ensures that those tag resources are available to the JSP compiler and servlet.

        Attachments

          Activity

            People

            Assignee:
            lawrence.lee Lawrence Lee
            Reporter:
            raymond.auge Raymond Auge
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.0.0 M5